Can anti inflammatory gel help mitigate long term sun damage?

Ok I’m not very well versed in the topic but I can’t really find help online for this. I know if you get sunburnt treatment (burn creams, anti inflammatories, aloe Vera etc) is there to soothe the pain but can it help reduce some of the long term damage too? Or is this just wishful thinking?
Can anti inflammatory gel help mitigate long term sun damage?
Post Opinion