Birth at 32-36 weeks?

Ashley
Okay so yesterday at the doctors she said that my baby is too small and isnt getting much of anything in the belly so they need to take her out she said she wont be in my belly no longer than 36 weeks . Im already 28 weeks !! Is that safe?!? I mean she said she was going to give her a steroid shot for her lungs but im really scared for her and myself :(