Kidney infection…?

Janett 💙 12/04/2019 👶 Baby #2 03/23/2022

I think I may have a kidney infection I’m peeing like every 5seconds after going and emptying my bladder. I have side pain, lower back pain, and some pressure/pain in the stomach. I am 12 weeks pregnant and in so much pain. I called my nurse line for dr and they said increase water intake and take Tylenol for the pain but it hasn’t done anything . Is it dangerous for baby or myself??