acid reflux

What formula did you give to your baby if they had acid reflux? My baby doesn't spit up milk or go sick often but is in pain. Please help