sharp pains

I'm 37 weeks. This morning for maybe like the past 15 minutes I've been having really sharp pains in my stomach. It hasn't really gone away. It just feels a little less sharp sometimes? It's hard to explain. Not really sure what to do. I had this before(didn't seem as intense as last time) and went to ER and the doctor was super rude and kept telling me it was gas(which I don't believe it was) nor do I think that's what's it this time. Has anyone had this?