Quoted from the
Mayo Clinic's website (in regards to a low sperm count):
Avoid the heat. High body temperatures have been shown to decrease sperm production. Avoid hot tubs, saunas and exposure to hot weather. Tight fitting shorts or prolonged laptop computer use also may increase the temperature of your testic|es, decreasing sperm production.