34 weeks and put on bed rest due to contractions

Britni • Mommy to a beautiful 3 year old girl 👧🏻 wife 🧔🏻 👶🏻 girl born 6/3/2019 and expecting our first boy 7/9/2020
I am 34 weeks pregnant and just left the doctors office where they put me on bed rest due to early contractions.   Has anyone else experienced something similar? If so did  they stop on their own? My doctor just told me to lay down, relax and drink lots of water and if they continue or worsen to go to the hospital.