If you are talking about moisture fogging, and I think you are.
One thing I have noticed about the moisture fogging of windows is that it seems to be worse after you have washed a vehicle. I'm guessing that there is lots of moisture present in the air ducts and the window/door cavities that contribute to the problem. Like the others, I just run the defroster.
I will sometimes drive with the windows down until I get cold.
Another type of fogging can be caused by interior materials of the vehicle.
The interior plastics of a vehicle go through a process referred to as out-gassing. This will often leave a film that looks like the smoke film that occurs in cars that are smoked in. It really puzzles non-smokers who get lung cancer haze on their windows.
Other than cleaning and dressing the plastic and vinyl regularly, I don't know of anything you can do.
I really don't know the cleaning and dressing does any good, but at least I feel like tried.

I do wash the windows at least weekly to try to keep it at bay.
Another thing that helps is drive an old car that the vinyl and plastic no longer is out-gassing.
Charles