Self-defense is the process of defending oneself from an assault. It is typically done by inflicting pain, injury or death on the assailant to protect oneself. Self-defense is based on legislation that permits individuals to counteract potentially harmful attacks from aggressors in situations they believe could result in severe injury or death.