Urinary tract infections (also known as cystitis) must be treated to prevent them from progressing to the kidneys. Talk to your healthcare professional as soon as possible.
If this is a first-time urinary tract infection for you, talk to your doctor. They can also validate that your pain is not caused by something else.
If you have had a urinary tract infection in the past 5 years, your pharmacist may be able to help you under certain conditions.
While waiting to see the healthcare provider and start an antibiotic treatment, make sure you drink plenty of water. Using warm compresses on your stomach may help relieve the pain.
A painkiller (acetaminophen) may also help temporarily; however, it will not solve the problem. It is still important to consult a doctor as soon as possible.