A good question. Being 30+ , I do find it more difficult to make friends these days. Covid doesn't help the situation.
But it comes down to finding people with similar interests or a shared activity. And just putting yourself out there a bit. Some times you might fall flat on your face. But most of the time you start a conversation with someone and go from there.