Uti help

This is the 3rd or 4th uti ive had and i dont know why i keep getting them and this one i have to pee every 5 mins and ut burns like hell and i have to take a 3 hr amtrak ride home sny advice ladies?