Remove the battery ground cable for about 5 mins.
Then put it back on.
There is a reason it came on in the first place.
If you don’t repair the problem it will just come back on again.
You’ll need to have the code pulled from the computer with a scan tool.