Having social anxiety, what can someone do to make friends?

Focus on yourself, but do things that create opportunities. For example, go to a gym regularly, play a sport, or join a club if that’s an option. But do it with the intent of pleasing yourself, and things will fall into place naturally with time