It can vary, it can be a muscle problem or because of a recent change in lifestyle. Meditate, take rest, use a heating pad and exercise if possible.
Please don't neglect issues regarding periods even if the problem is a small one. Contact your physician or try reaching out to doctors in the medical apps or websites.