Tan lines occur when ultraviolet rays from the sun alter the pigment in the skin, causing it to darken. It's not easy to get rid of tan lines, and it doesn't happen overnight. However, treatments can make a tan fade faster. Covering your skin from the sun rays will also help make tan lines go away.