Sore stomach

Whit
32 weeks and the top of my stomach has been sore and its also tender to touch all over. I was having sharp pains past night after eating but not contractions. Anyone experience this or no what could be going on?