Guard
Incorrect: You should guard from bad habits.
Correct : You should guard against bad habits.
Incorrect : The dog guarded the house for intruders.
Correct : The dog guarded the house against intruders.
Note: When ‘guard’ is used as a noun:
Incorrect : Be in your guard against thieves.
Correct : Be on your guard against thieves.