Wearing a helmet can keep you from harm while riding a bike.
The handrail will keep you from falling down the stairs.
Washing your hands regularly can keep you from getting sick.
Regular backups will keep you from losing important data.
Double-checking your work can keep you from making mistakes.