Sunscreen is the best way to prevent melanoma caused by overexposure to UV rays, and people often look for the easiest way to get sun protection before heading out, which is why aerosol spray sunscreens are a popular choice. However, aerosol sunscreens may not be your best bet, and you should at least consider different formulas.