Painful contractions and back pain

Katherine • Pregnant with first baby with my hubby!!
I'm 36+3 and I went to the hospital yesterday because I had terrible contractions and back pain. They checked my cervix said I was not dialated and that my cervix was still long (don't know what that means) and that I was just having contractions and needed to drink more water. I drank a gallon of water today and still having this pain tonight. Anybody else have this? Why's it happening? Isn't it a little early? 
HELP!