Sounds like you're having an intense contraction pain. Best is to go back to the hospital. You could probably be dilating more by now hence the pain. Also best to get admitted so they can check on you from time to time. From 2cm, you can dilate more at anytime.
What happened after that?