I believe appreciation of all your blessings keeps the right attitude. This focus on the affirmative is contagious as it forms a positive cloud around you. The challenge in this world is entering and sustaining that atmosphere of appreciation. Some steps that have helped me and perhaps they will help others are -

(1) Enter into prayer with God by thanking Him first for your many blessings, then move into a time of praising Him for who He is in your life. (Psalm 100:4)

(2) Sow what you desire to reap. If you want the attitude of appreciation then appreciate someone in person who has blessed your life. (Matthew 13)

(3) And hang out with those individuals who are also positive, realistic and appreciative. (Proverbs 13:20)

So, practice this attitude with God, sow it with others to reap it in your own life and in the meantime surround yourself with those that already have an Attitude of Appreciation.