Thank you for your question.
Although no detail was provided. For the purpose of the question, I will assume this has not occurred in the past and there is no recent trauma or associated symptoms such as fever, leg weakness, numbness or tingling, urinary discharge or rashes.
If the above is correct, simple over the counter medications combined with relative rest should improve the symptoms after a few days.
If there is no improvement after a few days or the associated symptoms mentioned develop... you should see your primary care doctor.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.