The phrase "to protect the heart" means taking actions or making choices that keep your feelings safe and prevent emotional pain or hurt.