When I was 9 weeks I remember getting horrible cramping and thought I was miscarrying, only to have a bunch of diarrhea. Bowel cramping and uterine cramping feel very similar its hard to tell a difference! I wouldn't worry unless it goes on for more than 48 hours call your dr, just make sure to stay hydrated.
I've had the same thing happen to me twice now....the cramps woke me up and i thought i was in labor, then i went to the bathroom and had bad diarrhea. But as soon as i was done they stopped and i drank lots of water and went back to sleep...no harm done. I told my doctor about it and he said it was fine.
try to drink alot of water and see if it helps if not go to the e.r. And make sure your not having preterm labor