Pelvic rest?

Hannah
Who else got put on pelvic rest? Why? How long? 
I am 16 weeks pregnant and got put on pelvic rest because I had some bleeding for no reason what so ever. We have saw my baby three times since I was put on pelvic rest and it seems to be really healthy. My cervixs is long like it should be and everything looks normal. Not really sure why she put me on pelvic rest. She also didn't tell me for how long?
Did anyone else get put on pelvic rest for this reason? How long did you have to wait before you could have sex again?