Exposing the skin to sunlight for even just a short period of time say, 10 to 20 minutes a day can help your body produce the amount of vitamin D you need without creating anywhere near the level of skin damage that you've been trying to prevent staying out of the sun.