Although you may not feel like doing it at the time, stretching or gentle exercise will ease this discomfort. Healthy eating is also known to help relieve any period pain. Alternatively, treat yourself to a relaxing bath or cuddle up on the sofa with a hot water bottle.
If none of these help, your local pharmacy can give you guidance on suitable pain relief.