To stay away from an action, situation, or risk.
“You should avoid making any big financial decisions until you've spoken to an advisor.”
Use "avoid + gerund," never "avoid to." Great for warning someone about a mistake.