DO NOT bring it inside a closed structure like a house.
If the battery catches fire, you’ll need to drag it outside and let it burn. You cannot easily extinguish a battery fire and it would burn your house down.
Also do not key on the bike.
If you want to examine the controller, it is inside the tail under the seat. The only troubleshooting I can recommend is to unbolt the seat and examine the controller without touching it.
Since, however, you did not answer my questions clearly, I have to assume you don’t understand how to troubleshoot reasonably. Sorry, I just have to make a call that you’re going to misinterpret any request or instruction, and that you are entirely responsible for whatever actions or inaction you take at this point.
From what I can tell, this is beyond your skill level to deal with. Take it to a dealer as soon as practicable.