Hi, and welcome to the community
Please try the below troubleshooting methods.
●RESET
Settings >general management >Reset>Reset wifi and Bluetooth settings
●Cache partition wipe
Plug into a working PC or laptop or other Samsung device
https://www.samsung.com/uk/support/mobile-devices/how-do-i-clear-the-cache-on-my-device/● Hard reset
With the device powered up, Hold the Volume down button and Power button simultaneously for 10 seconds. The screen will go off. Continue to hold buttons until the device vibrates and the Samsung logo appears. Release buttons. Device will reboot. Once done, please check if the issue is resolved.