My 5 year old did that a few weeks ago during a BYU game
I told him if he kept doing it, I'd throw him and his trash opinions into the garbage. He held strong. His 2 year old sister was absolutely mortified when I picked him up and threw him in the garbage can. Seemed to work though!