Hello, Kitty! ...And welcome to Apple Discussions! 🙂
You may have to restart the computer with the Shift key held down so as
to have it start in SafeBoot mode. This would show a login box and then
after awhile, the desktop would appear. However, this is not the end all
and the next suggestion while in SafeBoot would be to find and run the
computer's Disk Utility, in the Utilities folder. See "GO" in the Finder menu
header and click that name, to see a drop-down menu of items; choose
Utilities Folder there. In that folder, when opened, find/launch Disk Utility.
In Disk Utility, be sure to click on the name in the left side margin, of
the computer's hard disk drive. The default name is often Macintosh HD.
Then choose 'repair disk permissions' and when it is done, you could
quit Disk Utility and restart the computer normally.
If that does not help, then you may have to start the computer from its
OS X install-restore (or most recent boot install DVD) by holding the C
key down while the computer has the DVD inside its optical drive; and
then when the Installer appears on the screen, there should be a menu
in the header or top of the screen (like in Finder, it would say Installer)
and you should be able to choose from items in a Utilities header, to
launch Disk Utility from within Installer's menu bar drop-down choice.
With the booted version of Disk Utility in the install DVD running the Mac
you can choose to 'repair disk' and also 'repair disk permissions' and it
may also be good to choose the brand name of the physical hard drive
in the left margin of Disk Utility and note you can Verify the hard drive;
note if the SMART status indicates if the drive Passed.
If the Disk Utility indicates, when using 'repair disk' that an error is noticed
by the utility, be sure to run the utility again and see that the drive is fixed.
If for some reason the disk utility can't repair disk, note the message and
refer to it later if the computer should not respond correctly to this effort.
(Be sure to not actually begin the Installer, since at this point, the idea is to
use the Disk Utility within it, and not re-install the system in your Mac.)
Also, if your computer's main user account (admin) and/or computer's
short name has been changed incorrectly, the user may no longer have
permissions or privileges to do many normal things in the computer.
Some things have a specific way to do them; and if they are done other
wise, stuff can happen.
Since I am only speculating after a point in time, I am hopeful your Mac
can be up and running with a few actions and then later, maintenance.
There may be some other reason for the computer to be acting improperly
so this is a matter of 'trial and error' troubleshooting; and it may take time.
Good luck & happy computing! 🙂
{PS: I always wanted to say 'Hello Kitty' to someone other than a kitty cat!}