gripe water made baby worse

I gave my baby a dose of gripe water today. She is 1 month and 2 day. 
Anyway she has been bringing up burps but she has also been screaming non stop for 4 hours. 
It feels like I've poisoned her. 
Anyone else's baby react this way? How long until it is out of her system?