You can try to reset the PRAM by following instructions here https://support.apple.com/en-us/HT204063 If that doesn’t work, it’s probably something on the motherboard.
open