You can also wax and polish the headlights. That helps protect them for longer.
There's a light UV coating on them that comes standard but it tends to fail rather quick. Even if you wetsand and polish then you need to put something on then to protect them. I usually use a mineral wax/ paint thinner combo and have had success in the past with mineral wax/ paint thinner combo the yellowing. Or you could have a body shop clear them that should last way longer.