Thanks for posting your problem here! Have you tried doing troubleshooting steps on your phone? I suggest doing a factory reset as a last resort to your phone. You need to back up your files first before doing a factory reset. You can watch this video as a guide: https://www.youtube.com/watch?v=GOytkPd4v7Y
But if the problem still persists after a factory reset, then you need to bring your device to an Authorized Samsung Service Center for a check-up and consultation. You can go to our Service Center Locator to find the nearest service center in your area: https://www.samsung.com/ph/support/service-center/?msclkid=72d47e20cf8411ec8ac1394658c823b0
Hope this quick fix would help you with your concern. Thank you!