What else can I do

During sex I get extremely aggressive, to point where I scratch my boyfriend. Sometimes leading to marks and scars. I feel terrible and I don't want to scratch him anymore bc I'm hurting him. He doesn't mind but I do, how do you stop doing that? Or is there something else I can do to rid my agresive behavior?