She’s trying to come early

We are 35w2d and she’s truing to come early. 3 cm dilated with contractions 2-4 mins apart. Went to regular check up and told the doctor I was hurting and she checked and sent me to the hospital. Hopefully we can kee her in a little longer.