31 wks and 2 cm dilated with contractions - advice??

R

Currently in the hospital for overnight monitoring due to minor contractions and cramping earlier and I was 2 cm dilated when they checked me. Has anyone else experienced something similar ? What was your outcome?