Uterus hurts when I suck stomach in?

My pelvis/uterus area hurts when I suck in my stomach sometimes I feel it when I’m walking. It doesn’t happen every day but I do notice it sometimes. I had sex yesterday which was kinda painful so maybe its just sore from that? I never really think about what causes it so I have no idea. I’m not pregnant.