You defend and protect yourselves from different things.
Defend is the opposite of attack, so someone might learn martial arts in order to defend themselves from violence and physical assault. You might defend yourself by fighting back.
Protect means to keep safe. For example, you need to take measures, such as using antibiotics or having vaccinations, in order to protect yourself from infection and diseases.