Braxton Hicks

I'm 33+2 days and the past couple of days I've been having really bad pains in my lower belly, they are uncomfortable and painful but it been getting them every couple of hours only lasting a minute, I called my midwife but she said to take paracetamol but I don't wanna keep taking them every couple of hours, so I went to the walking in centre and found out I've got a wee infection, has any one else has these pains then found out they have got a wee infection or is it start of early labour??