On waking, your skin is at its most dehydrated (due to overnight water loss) so it’s likely your skin barrier function could be impaired. Immediate hydration is key, DNA repair is less active and skin is susceptible to damage from UV so it is important to apply SPF first thing.