I want advice.

I want female friends. But for some reason females don't like me. My boyfriend tell me I should get some females as well. What should I do.