1.) Enhance your skills regularlyIn what ever programming language you are working try to be perfect in that. Set reasonable targets with deadlines and work on them. Read good books and try to improve yourself.
3.) Don't compareDon't compare others with you, like what they are getting and you are not. Just don't do that, it will just make you negative. Always think how you can improve yourself and always think positively.