Upper stomach pain?

Im 12 weeks and I been having in my stomach in the upper below my ribs. It's like when you eat grease food the pain it leaves? Lol I want to take Zantac but idk if it's safe? Help I don't have my app until like 2 weeks