Have you taken nifedipine to stop contractions?

Has anyone been prescribed nifedipine to stop early contractions? Did it actually work for you?

I was in the hospital yesterday evening to be monitored for contractions because I started having too many contractions & I have a short Cervix, I was prescribed this medication to hopefully help stop the contractions.

(I’m 29 weeks with identical twins)