How to know where the pain is coming from

Autumn Kay • ttc since 2014. had a miscarriage 7/2/16.
How do you know if Sharp pain is coming from your uterus/ovaries or your intestines. It's sharp pain between my belly button and pubic bone. Just pretty much in the middle. I don't know how to tell where it's coming from.