Check whether there is any damage to the SD card. If there is damage, replace the SD card with a new one. Check whether you are using the approved Raspberry Pi power supply. If not, use the approved version. These are the ways to solve Raspberry Pi performance.