It protects itself by spraying a noxious fluid from its rear. The stench lingers for 24 hours.
View This Pokémon's Entry on Bulbapedia: