Usually, restarting the game or the console (or performing a hard reset) typically fixes the issue. Unlike a lot of PC games, Sea of Thieves relies on you having your microphone set as "Default Communication Device" not just "Default Device" within your Sound Control Panel.