The best way to avoid fogging on your basketball goggles is to choose a pair treated with an anti-fogging product. You can also buy such a treatment separately. If you find yourself still struggling with fogging, try rubbing baby shampoo or shaving cream on the lenses before a game (don’t forget to rinse it off). In a pinch, even saliva can work.