It can be done over the net too, but in-person is better while the net has been actively and intentionally made worse to monetize addiction.
If you want a girlfriend/boyfriend you start by making friends with people. Then you will notice some of your friends are of your sexually compatible gender, which means you may have friends that want to have sex.
Also helps to avoid listening to incel/femcel, PUA, and similar bullshit that actively makes the listener repellent. A lot of women for example will ghost at the first whiff of Andrew Tate or Jordan Peterson adjacent thinking, and as a man I'd do the same at the first whiff of the kind of stuff you hear on the angry womens' subreddits. I don't want someone with a head full of influencer poison.
A major reason to get off the apps is because the apps (social media and similar) reward toxicity and exploitation and are structurally designed to be maximally addictive, meaning they're made to keep you on them not talking to other people. Social media stopped being social around 2012 really. I call them tobacco companies of the mind.