What’s wrong with me?? Am i just shy?

Im 23 years old and was in a 6 year relationship I’ve really only been with 3 guys in my life I’ve had a lot friends through out my life & most would tell me that they had one night stands with the guy they liked, I noticed that whenever I find a guy attractive I don’t even try to talk to him… like I’m too shy or I don’t even try… I’ve been single for about a year and it got to the point where I feel super insecure about myself…I got a new job & there’s a guy there that’s attractive he’s single we’ve talked & joked but never nothing more..

What can I do differently?