Prevention is the best method of avoiding undesired consequences. Following these precautions does not guarantee you will not get skin cancer but will significantly reduce your chances of developing it.
Every day use broad spectrum SPF 30+ or higher sunscreen that blocks UVA and UVB rays. For water activities use water resistant sunscreen. Apply sunscreen 30 minutes before going outside. Do not forget to reapply according to manufacturer’s instructions.
Please remember, it is very important that all moles should be thoroughly and regularly examined by a qualified medical practitioner.