It's understandable to feel frustrated when you're around negativity, but yelling at your dog is not an effective way to communicate or train them. Dogs don't respond to yelling in the same way people do; it can actually scare them or create anxiety. Instead, positive reinforcement, such as treats and praise for good behavior, is a much more effective training approach.
If you're feeling overwhelmed by your parents yelling at you, it might be helpful to talk to them about how it makes you feel. Open communication can often lead to better understanding and a more positive environment for everyone. Remember that both you and your dog deserve to be treated with patience and kindness.