Terrible stomach and rib cage area pain

I am 11 weeks 1 day. I have had diarrhea all day, and the normal nausea. I have a terrible pain going on the top of my belly area and in my rib cage area. Anyone have experience with this?