How do I prevent my windows from freezing shut?

I currently drive a 2005 Chevy Silverado. The last couple winters I’ve had a handfull of occasions where, in cold weather, the front windows freeze to the weather stripping. I’m not able to open them until after the heater has been running for a while. Is there a way to keep the windows from freezing shut? Perhaps something I can spray the windows/weather stripping with?