How to know where the pain is coming from

Autumn Kay • ttc for two and 1/2 years, had a miscarriage 7/2/16. have stopped trying for now.
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.