pains in upper stomach

Janice
I've been having pains in my upper stomach and sometimes kinda like a burning feeling. I'm 26 weeks pregnant. My doctor thinks it's acid reflux. Does anyone else have this? And if you took Zantac or anything how long did it take to kick in?