I kinda want a boyfriend but dont know how?

I am a 25 year old female and I feel kind of bored with my dating life. I am studying, I have hobbies, dreams, a job, I have friends.. but I have always had a 0 romantic life for different reasons. I was never interested in dating. I never really liked anyone because I focused more on other things. I had guys like me. Not like a looong file. I dont think I am ugly and I am really smart. My beauty is particular however. I am not the type of hot girl but more the petite who looks way younger.. and I dont know if that really attracts people. I dated a guy for 2 months last year and it ended really bad and It was really hard for me overcame that failure because I was in love with him but not him. Depression led me to get involved in a relationship with a guy I knew when I was a teen but never saw in person. He has a 10 year relationship and I offered him to have sex. Deep inside me (I realized this later) I was looking for someone to love me. We met twice and out of the blue he ghosted me. Later on he told me his girlfriend was suspecting. This last pseudo affair I had left me wondering why I am unlucky with guys and love overall. I started wondering if I am unattractive, act/look crazy? My self steem is really low. I want to fall in love.. i want someone to love me but I keep finding guts who are not for me. Who lose interest really fast or the ideal ones are already in a relationship, are gay or would never notice me. It is a very stupid concern. I know I should focus on myself.. but I am bored.. I feel like I am getting old and I'll get good things in the professional field because I know I have opportunities and inteligence. But when it comes to love I feel I would never experience what it is to habe a guy invite me dinner, buy me flowers, tell me he loves me. I hate myself for being so stuck on this mindset.
I kinda want a boyfriend but dont know how?
Post Opinion