I have Red raw skin on my bum crack. Quite painful and hurts more after pooing, what is this?

i have had this for quite a while, learnt to live with it but the pain is worse now after going to toilet. Any advice?