If you think your Mac might have a hardware issue, you can use Apple Diagnostics Tool to help determine which hardware component might be at fault. Apple Diagnostics also suggests solutions.