Hi, and welcome to Android Central Forums.
It's hard to say what app might cause this but the camera apps also use the LED. If you run it in safe mode as previously suggested and it doesnt do it then we can assume it's a conflicting app. If it still has an issue in safe mode then it could be a hardware issue.
We would love to help further but need more information.
Please consider creating an account so we can communicate further and better assist you. As a guest you are not able to reply any threads.
I have provided the link below so that you can register, and we can further assist you.
https://forums.androidcentral.com/showthread.php?t=409154