Raspberry Pi4 is very slow

Yesterday the power went out and when I turned on the Raspberry Pi4 with DietPi I was going very very slow, very badly, I saw that there was an update and that I did. At the end of it I got a message like that the SD was hot or something of the kind (I didn’t remember to capture it) and that if I wanted to fix it or omit it … clearly I gave it to fix it and everything worked correctly again. This morning I had another power outage and the Pi4 is going bad again, is there any way to manually do what I said before? because I only have qBittorrent running and little else, I don’t know where the problem comes from

do you know what update it was? did you tried to reboot your system? Did you check how system usage is running htop