Welcome to the forums, Kadlet,
First off, you might want to give some more details. When did the problem start, did you change anything, what OS are you running, etc.
One place to start is in safe mode. Try shutting down in safe mode, if it works ok, then you know you have a software problem.