First back up and try a clean install of OS X... if it fixes the issue, the software has something funky going on and you have to set up as new and accept that. If that doesn't solve it, you know it's hardware fault, and a visit to the Apple Store will be needed.