By being friends with a female. If you see a girl you like, start a conversation with her. What do you have in common? If she is doing something you can relate to, talk about it. Find someone from a class, choose someone from work, even pick someone from the street.