、。
My doctor told me to stay home for a week.
Literal
I [of-の] doctor [topic-は], I [to-に] 1-week house [in-に] stay [so-as-to-ように] said.
ように言う ('tell [someone] to [verb]') is the standard pattern for reporting commands indirectly. The verb inside the ように clause is the commanded action. お医者さん ('doctor') is a friendly/polite word — お- prefix + 医者 + -さん honorific. いる here means 'be/stay [somewhere].'