If water has got into the speakers then give the phone plenty of time to dry out.
Run the phone's internal diagnostic test tool found in your Samsung Members App under the GetHelp section and see what the results are.
A Samsung Service Centre can check out the phone, however water damage if any is present wouldn't be covered under the warranty.
If I can be of any further help then please don't hesitate. Take care. 😎
Daily Driver > Samsung Galaxy s²² Ultra 256Gb in Phantom Black.
The advice I offer is my own and does not represent Samsung’s position.
I'm here to help. " This is the way. "