Explain to your child why you yelled at him and then apologize. Hug and kiss him and buy him his favorite stuff so he would forget the negative experience. Lastly, don't ever do that again...I'm sure you would not want to be yelled at for 45 minutes would you? Well, neither does anybody:)