Question: what to do when your stomach hurts period?
Answer: Over-the-counter pain medicine like ibuprofen (Advil), naproxen (Aleve), or acetaminophen (Tylenol). ... 
Exercise.
Putting a heating pad on your belly or lower back.
Taking a hot bath.
Having an orgasm (by yourself or with a partner).
Rest.