Hello there, this can be due to Urinary Tract Infection, in most of the cases the described symptoms do occurs, but it can be treated with Medication, nothing to worry about, do consult online, you will be fine soon.
Next Steps
do Urine routine test, drink plenty of water.