Thanks for writing in.
The possibilities I can think of : side effects of I-pill or a urinary tract infection
or mild trauma to the perineal area during the act of intercourse.
I would advise you to drink 8-10 glasses of water daily. A glass of cranberry juice might also help.
Ensure periodic regular emptying of the bladder , maybe every 3 - 4 hours.
Ensure double voiding. Pass urine normally at night before going to bed. 15-20 minutes later, pass urine once again to make sure the bladder is completely empty.
Abstain from sexual intercourse till you get better. After that, empty the bladder before and after the act of intercourse.
Wash the perineal region with warm water and keep it dry with the help of toilet paper.
Ensure good perineal hygiene.
Hopefully you should get better in a day or 2. If you don't feel any better by that time, get a urine test done to look for evidence of urinary tract infection, which might then require antibiotics.
Hope this helps
Dr. Divya Kuttikrishnan