What sort of things take place for a doctor to put someone on bed rest?

Almost 36 weeks just curious. I have high BP in the evenings with swollon feet and throwing up