The best thing to do is to have a talk with him, and let him know about how this situation makes you feel emotionally. Ensure to be honest and open with him so that he can understand, calm down a bit, and realize how you feel.
Sometimes people in your life feel out of control and they yell to try feel more in control of their lives. Your dad yelling may have nothing to do with you. Don't forget that! My best advice is that you try to figure out his signals when he is getting mad, and find a way to get out of the way. No matter how old (or young) you are, there are safe places and grown-ups in your community who can give you the positive encouragement you need to know this is not your fault and to help you be strong. See if your school has a club you can join, or something like Campfire kids. See if you can volunteer somewhere in your community. The more places you have to go when he is angry, the easier it will be for you to get out of his way. These places and people will help make you stronger when you learn that it's not your fault and you won't always have to live with him. When you are old enough to move out, you will be able to surround yourself by people who aren't emotionally abusive. Good luck! You are loved!