To stay in bed / To be confined to bed
Used when a doctor orders rest in bed due to illness. El médico le dijo que guardara cama = the doctor told him to stay in bed.
The doctor recommended he stay in bed for three days.
—How are you? —Terrible, I've had to stay in bed.
She was confined to bed for a whole week with a high fever.