I need advice

When you get a uti, how long does it normally last for? And do you normally feel it while on your period? What else can I do if drinking water and drinking pills doesn’t fully eliminate it? Should I get it checked out after my period ? Like the pain is gone but I can kinda feel the burning tingles if my stomach is empty…