You must be careful not to catch a cold.

Literal

Cold [object-を] catch-not [purpose-ように] be-careful must.

注意しなければいけません — polite obligation: 'must be careful.' The ように purpose clause names the goal (not catching a cold), and ~なければいけません delivers the firm injunction.