Weekly shots to prevent preterm labor

Summer
Was wondering if anybody has had the weekly shots with previous pregnancies to prevent preterm labor and what was your experience with them? Thanks!