Every time I shave

Ok so I have a hairy asshole so I have to shave... I get this everytime I shave and I have no idea what it is... it last for weeks! What is it and what do I do?