To fix a foggy windshield, turn on your defroster with the A/C activated, clean the glass interior, and remove moisture ...
UV rays cause headlights to yellow or fog up over time. Scrubbing away dirt and damage will help restore them so light can better shine through.