Did you just install it or did this happen after?
Ok so you can't login or open the App Store or what exactly?
Reboot into the Recovery HD by choosing the ‘Apple‘ menu > Restart, then hold down the ‘Command’ + R’ keys on the keyboard during the start up process. If you can't get to that menu just hold the power button for 10 seconds until it shuts down. Then start it up again holding those keys. When you see the Apple Logo you can let go.
When the machine boots you may have to choose your language then you will see the OS X Utilities screen. Select the Disk Utility and then Continue. Then in Disk Utility select Macintosh HD in the left column (if there are two with that name or it is named something else choose the first indented item) and then on the right select the First Aid tab then select Run. Then restart and try again
OK I suggest you do that again but this time choose Reinstall Mac OS X