Question: how to fix an iphone screen when it goes black?
Answer: Plug the iPhone into a wall charger, then reboot the iPhone.
Update apps on the iPhone.
Update iOS on the iPhone (backup first)
Take the iPhone to an authorized Apple repair center if all else fails.