Nasty like green water, swampy or just dirt in the bottom of clear water?

Test your water.
Scoop out the leaves and twigs and such with a leaf net.
Add chlorine and other chems to adjust your test readings.
Run your pump 7/24 for several days.
Vacuum and Backwash daily until you get it cleared up and have your water back in balance.