contractions?

so i just left the hospital earlier today and they told me that i was having contractions, i couldn’t feel them not was i dilated (i went in for vomiting & diarrhea) but now since i been home, it hurts to walk around alot, my back is killing me and my stomach kinda hurts.. this is my first baby soo i really don’t know how contractions feel. or maybe they are braxton hicks??