I am pretty experienced with Android devices having this problem.
you’ve got the option to usually clear up the problem with these steps.
This can reset things to a state where things work again.
Reseat SIM Card
Sometimes, reseating the SIM card does the trick.
Use our postSamsung Galaxy S21: Remove SIM Cardto learn how to remove then reinstall the SIM card.