First, try an SMC and NVRAM reset (Google to find out how). Was it dropped/knocked to cause this to happen? Has it suffered liquid damage?
open