worst heartburn/gas ever

I need some advice. I never had heartburn before I got pregnant now anything can give me it. I've tried anti acids the doctor said is okay to take but it doesn't seem to help. I feel sick to my stomach with how much gas feels built up.