35 to 36 weeks pregnant

Is it safe to have a baby at 35-36 weeks I am 5 cm dialated and one hospital didn’t want to induce labor I am

Currently in preterm labor my contractions are strong but no progresss on the dialation, this is my 9th pregnancy and I’m scared I’m thinking of going to another hospital that is way better please help