If you just have to punch something, do it to your mattress or pillow, anything that won't leave an ugly mark or break your hand. If you can hold it in, just inhale and exhale SLOWLY because it will relax you. And just remind yourself things like "Ok, is this really worth getting angry about?" (assuming it's nothing dead serious).