Gripe water


So my baby cry’s day and night and I’ve done everything I can she has eaten and everything even burped I’ve tried swaddling , changed diaper, rocking her , swinging, literally everything but nothing has helped :. Finally bought some gripe water (little remedies) can someone tell me when is best time to give to baby ? And how long does it work for your baby ?