The longer you stay in the sun, the higher the risk of skin damage and cancer. If you want to get a good tan, make sure you wear sunscreen and reapply regularly to reduce the risk of sunburn.