1. Regularly clean the guitar often. Especially strings. This should wipe every time play finished. The cleaning method. Should use a soft cloth wipe.
2.) Keep it in a safe. Not too hot, it should not be kept high. And should be stored in a box or bag for the guitar. To prevent the bumps and scratches.
3.) If not playing guitar for a long time. Should slack guitar strings to preserve the guitar neck and strings and knobs.