Uh, this might seem simplistic, or even offensive, but don't show anger at the dog. Just quit whatever you're doing, and put him away for a while as you calm down.
As others have mentioned, use the spark on your collar as seldom as possible. Remember, the dog wants to please you. Most training...