FTM 39weeks 2days 4min apart contractions and only 2cm. Got sent home.

I have been having 5min apart contractions and went to the hospital. I got my cervix checked and it was only 2cm dilated. I got sent home 2hours ago and I came home and took a bath and have been sitting on a yoga ball. My contractions got worse. And I have urge to push but don't want to go back to get sent home again. And I am FTM and don't know when I am supposed to go back to hospital.