It depends on what you want to do...
When you launch on a mission the game will look for other people who are also launching that mission for the first time and try to form a group with those folks. If everything works out, you'll matchmake with some folks who are doing it for the first time.
If there are empty spots in your group, the game will automatically let your friends know that there's an opportunity for them to join you - and they can hop in and help you out.
Beyond that, other players can queue up to help out newer players using the reinforcement system. They can matchmake in and help round out a group.
If you prefer to play with just your friends though, you can always set the game to private and make your own squad.
For Freeplay, you'll generally be matchmade into an existing server (new ones are being spun up and down all the time). There will likely be other players on that server 😊.