At what age did your LO's gas pains seem to stop?

Melissa
Just wondering when they learn how to pass gas and it seems so not bother them anymore?