If you drop your iPhone's screen brightness to the bottom and ... For more, check out how to fix your iPhone's auto-brightness if it's driving you crazy and how to clear your iPhone cache.
Hopefully, all will be well, but if not, take it to a repair center. In a considerably less serious issue, you may simply spill water or a liquid on your laptop screen, not hitting your hardware ...