Every time my pc loads it gets to the login screen but then the screen keeps flashing while resetting itself.which prevents me from logging in. If I hit ctrl+Alt+delete I get

Runtime error!
Program: C:\windows\system32\LoginUI.exe
This application has requested the Runtime to terminate in an unusual way
Please contat the application's support team for more information.