Real advice: make lots of friends, of both sexes. Hang out with them. Pay attention to the little things about yourself, and improve them. Make an effort to be the person you want to be- go to Meetups and stuff.
Eventually, people will show interest. When they do, return it.