Stomach issues?

I've been having random stomach aches during this week and it needs to stop. Last week I had stringy poop and it was hard for me to go. Yesterday morning I had a pain on the right side of my stomach for 5 minutes. I was actually able to go today, but I still am having stomach aches. They only last a minute. They sometimes occur before or after I eat, or when I'm just randomly sitting. Are there any nurses out there that can tell me what's going on? DON'T think I have I have appendicitis otherwise in be in much more pain, correct me if I'm wrong. I'm also in my fertile window of this helps more.
UPDATE: I'm not having anymore problems I think it was just a bowel movement.