Turn it off do not use it, it appears that your graphic card has been overheating due to the fan not working, if your very lucky you might be able to change the fan, if not a new graphic card is indicated.
Best phone camera 2017
Stunning new film posters by Hattie Stewart, Joe Cruz & more
iPad Pro 10.5in (2017) review
28 astuces pour profiter au mieux de votre iPhone