Choose the Apple menu on your Mac. Press D on the keyboard and hold it; then, your Mac will reboot. Don't release D until you see the different languages list. Wait for the Apple Diagnostics process to finish. Follow the instructions to troubleshoot found problems.