I was tired, so I went straight to bed.

Literal

Tired [because-ので], immediately bed attached.

すぐに means 'immediately.' 床についた means 'went to bed.'