I use to hit/punch myself all the time. i agree with Matt4 that u should get a punching bag but if u cant try a pillow. or i use to buy pencils, pens, hairbrushes and just breaking them,or just something u dont really care about breaking. you can also just try to walk it off sometimes that helped me other times i needed to break something.
if you need anything feel free to PM me