Hi,and welcome to the community
Before you do a factory reset, try a hard reset first
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.
If not resolved, then try resetting all settings
Settings >general management >reset >reset all settings
If still not resolved, then by all means, consider the full factory reset. Backup first.
Good luck 🤞