You need to Consult with a psychiatrist and find the cause of your anger. It could be because of impulsivity or some underlying mood disorder which I only can diagnose on detailed evaluation.
You should start counseling therapy session , if symptoms are severe, medicine might be required . Please don't delay treatment as such incidents can leave a bad memory with your child and can have long lasting effect.
Next Steps
consultation with Psychiatrist