Welcome to Healthcare-Magic
Greetings of the day
Increased frequency of urination is likely to be due to urinary tract
infection-- would suggest you to get Urine Microscopic examination done.
Its also important to rule out local inflammatory condition like Vaginitis/cervicitis
as cause for your painful intercourse--- a visit to a gynecologist will be beneficial.
Wishing you a happy and healthy life ahead
Do take care of yourself
D T Shobha Deepak