The best working fix is a firmware update. Overheating and lots of other issues are fixed by manufacturers via a firmware update. Therefore I recommend you to check for updates and update your Realme C21Y if available. Sometimes, there are multiple firmware updates, and these updates are installed one by one.
differential equation question with solution