Extreme Contraction pains!

Je
So again im 41.2weeks and haven't had any pains, but been having contractions since 8 last night. They got worse so i went to the hospital i found out i havd finally progressed to 1c dilated 50% thinned out and my cervix has finally moved forward. Even thought my contractions are consistent bc i wasnt far enought dilated they sent me home but now my contractions r unbearablly painful, any gestions on what to do about the pain?