Chosen Solution
It happened yesterday When I was coming back from my friend’s place it started to rain So I had the phone in my pocket on reaching home I discovered water had entered into the phone of which I tried to shake it off, but that it got into a bootloop after some hours I switched it on and it did on and so I discovered this fault. Please how do I fixed it?
Sounds like you may have some liquid damage. The screen will most likely need to be replaced but I’d take it to a repair shop for liquid damage diagnostic and repair ASAP. Turn it off and don’t charge it until it get’s looked at. Leaving it on while there’s liquid damage will cause short circuits.