To take precautions
The standard collocation for taking preventive measures. Common in health, safety, and risk management contexts.
You need to take precautions before going out in the sun.
They took all the necessary precautions for the journey.
—Are you prepared? —Yes, I've taken my precautions.