First - Stop jackin off bro. If you're fulfilling your needs at home, you'll have less desire to chase real tail.
Second - Realize that everyone gets into these type of ruts. When this happens for me, I hit the gym. If you're not already working out, eating right, or getting enough sleep - I suggest you do so. Working out releases endorphins that put a positive charge to your body. Eating well and getting good sleep is self explanitory.
Lastly - Focus on a goal. I don't know if you're in college or if you're in the working world. Regardless, many people get into ruts in their lives because the don't constantly renew their goals. They succeed in getting to college, get a good job, get a nice pad - then what? girlfriend? wife? what's next?
Figure out what's next. Write it down and passionately chase that goal. Challenge yourself. When you succeed, challenge yourself again, and again.
For some its running a marathon...for others its starting a new business...whatever it maybe for you, think of something you've always wanted to do (non-woman related) and go for it. Ambition is one of the most attractive traits men can have.