24 weeks and contractions

Jaime • I am 22 and my husband and I are expecting our first child. We are to welcome in a little boy in November.
So I was just in the hospital for contractions. They were 7 mins apart lasting 30-45 seconds and I was having 7-9 in a hour this went on all day Friday. They had me all hooked up and watched the contractions for like 2 hours before they came in and gave me medication to stop them. Does this mean I will go into labor early or can this happen and I still make it to term? My husband and I are just worried, he went and packed the diaper bag and part of our big and set them by the door. We are first time parents so we have no idea how this stuff works.