This isn’t a total solution, but if the things you’re looking through are clean, there aren’t little particles to catch the light and intensify the glare (or something).
Check with your eye doctor to see if any specific lenses will help you, but there is a big issue with cars these days having very bright lights that aren’t properly aligned so there’s always glare.