If you do not plan to play for a while, the way you store the instrument has a direct bearing on its condition when you bring it back out.
Loosen the strings gradually first, to relieve the tension the body carries over long periods. You do not need to remove them entirely — leaving some tension helps the body hold its original shape.
Before storage, cover the instrument with a dust cover or a clean soft cloth. The bridges can be taken off and stored separately, so that they do not press marks into the soundboard over time.
Choose a position away from direct sunlight, radiators and air-conditioning vents, and do not stand the instrument against an outside wall or directly on the floor. Sharp swings in humidity are the single thing to avoid most in long-term storage.
When you start playing again, do not bring the strings up to pitch in one go. Increase tension in stages, then retune, and watch the soundboard and the bridges for any change before returning to normal playing.