Newborn bum rash

Hi guys, my newborn is 3 weeks old and he has a really bad bum rash around his anus. There are so many cuts around his actual bum hole and it’s all red and looks so painful, and whenever he tries to poo he screams from pain. I’m not sure how this happened I change his nappy very frequently, how can I help him? Any tips and tricks?