guard against (someone or something)
To make an effort to prevent or avoid someone or something. We're building a fence to try to guard against animals eating the vegetables in our garden.
guard against someone or something
to take care to avoid someone or something. Try to guard against getting a cold. You should guard against pickpockets.