first time mom help?

jade
Im 26 weeks pregnant and I went to the hospital because I had really bad period like cramps and lower back pain. The doctors said I was having contractions but they happened six times over three hours. The cramps and back pain stayed and it was constant. 
Was that Braxton hicks. The doctors said nothing really about them?