我感冒了,昨天便在床上睡覺。

I caught a cold and was in bed yesterday.

Source: Tatoeba

Sentence Composition