Question..?

Can the pill be causing UTIs to come repeatedly? I didn't have sex for approximately 2weeks and when i did i went straight to the bathroom after.. I've been drinking lots and lots of water since, because i really didn't want to have another one, but yet, i can feel it coming; it occasionally burns...