That's always the REAL question, huh? Answer is, this is an incredibly complicated question. A bunch of different people are all gonna give you a bunch of different advice. Including lots of YouTube videos and published books on this very same topic.
But just general advice to follow, work on yourself first rather than seeking out women right away. So work on yourself, both physically and mentally. Work out, eat healthy, etc. Regularly challenge yourself just in general, learn new skills. Preferably have a decent job. Work on your social skills too. If you have mental illnesses make sure you're doing therapy, medications, etc.
Beyond that, just simply meet new people. Make sure to hang out in spaces that have both a lot of women and a lot of men, rather than spaces that are primarily male dominated. Hanging out in primarily female dominated spaces might make you look a bit too desperate, so mixed sex is better. Speak to women similarly to how you would speak to men. Don't take it too literally like if you and your male friends regularly make jokes about dicks and porn, don't talk about that to women you barely know. But just speak to them like you would talk to men you barely know. Don't make it so obvious you're seeking out romance from them.
And beyond that, learn to respect boundaries, learn how to take rejection well, possible break ups well, etc. A woman says no don't try to force it. A woman rejects you just move on to the next. If you break up with your girlfriend it really sucks but it's not the end of the world. That's why you shouldn't place too much value on any one person in general. You can only count on yourself, not on others.