Keep yourself engaged in activities that challenge yourself mentally. For example:
Doing things that exercise your creativity (art activities, gardening, etc.)
Learning new skills
Playing games
Having discussions with others