Is gripe water good for 2 months old?

Yetty

I gave 3.5ml of gripe water to my baby cause he’s so gassy and cried loudly. He can’t sleep more than 30 minutes. Is there any mommies using gripe water? Is it effective?