A bootloop is when the phone keeps restarting or stays on the logo. Try these from the least to the most drastic.
1. Force restart
Hold Power and Volume Down for 15 to 20 seconds until the phone restarts.
2. Charge it
A very low battery can cause restart loops. Charge for at least 30 minutes with the original charger, then try again.
3. Remove the SD card and SIM
A damaged SD card can block the boot. Remove both and restart.
4. Wipe cache (keeps data)
Boot into recovery (see our boot modes tip). Choose "Wipe cache partition" if it's there, then "Reboot system now".
5. Factory reset (erases data)
In recovery choose "Wipe data/factory reset". Only do this when the owner knows their Google account, or the phone will be FRP locked afterwards.
6. Reflash the firmware
If it still loops, flash the stock firmware (see our SP Flash Tool, Odin or Mi Flash tips).
7. Still looping after a reflash?
It's usually hardware: a weak battery, a faulty power button stuck on, or a board fault. Bring it in and we'll diagnose it.