Launch the Nintendo Switch Online App, then choose Voice Chat from the menu. Check that you are connected to the internet. Voice chat is something that you can probably only use with your friends or, at the very least, those who are on your Best Friends List.