It may be a uti. U should check with the obg
I'm almost 20 weeks and it seems tho I have to pee 3 times in a hour, just when you sleeping good, that really when you have to go during the night
Is very common in pregnancy and can happen at any stage, more so in the latter stages when baby is putting more pressure on your pelvic floor muscles. Try doing kegel/pelvic floor exercises so that you can strengthen the muscles during pregnancy and labour. Have you been tested for Gestational diabetes as frequency and urge can be an indication (in conjunction with other symptoms)