Surround yourself with plenty to do... I have multiple hobbies to help keep me busy When the weather is warm, I am always on a bicycle whether its a road bike or a mountain bike. It keeps me in shape and makes me feel young again. When the weather is bad, I am usually right in it (im a storm chaser lol). I also get into nature and extreme weather photography, triathlons, cycling races... I make forums and websites. I am a firearms enthusiast and am always in the mood to go target shooting. I also make my beer. I keep getting a new hobby after new hobby and I always have something fun to do...
Back when I just revolved around a computer, I was bored and depressed... when I got out and started doing things, well I cannot remember the last time I was bored actually haha
I'm not saying this in a bad way, But go outside and find a new hobby or something. If you're from the city, Like me, Go to the park and shoot some hoops. Or if you don't like sports, just go for a bikeride, like Shawn suggested above.