Dell Inspiron 1525 Manual states followings instructions to fix freezing:
Restart PC, press <F8> 3-4 times when the Dell logo appears.
Advanced Boot Options menu appears, ‘Repair your Computer' is highlighted, press Enter. (Use the arrow keys to highlight your choice)
Windows is loading files screen appears. Wait for it to load.
System Recovery Options prompt appears. Specify the language and keyboard input that you want, and then click ‘Next’.
Log in as a user who has administrative credentials; select the username from the drop-down list, type the password and click OK.
Choose a Recovery Tool Window appears, select Dell Data Safe Restore and Emergency Backup.
The Welcome screen will show 2 options; Restore computer and preserve my new or changed files and Select other System Backup and more options. Select the second option (Select other System Backup and more options) and click Next.
The next window shows these options; Backup Files and folders and Restore my computer. Select ‘Restore my computer’.
Select the Factory Image and click ‘Next’.
The next window shows 2 options; 'Preserve new or changed files before restoring to selected System Backup' and 'Restore without preserving new or changed files'. Select the second option (Restore without preserving new or changed files) and click Next.
A prompt appears stating that your computer is about to be restored all data currently on your computer will be deleted and replaced with your selected Full System Backup. If an Emergency File & Folder Backup was created, it will still be saved at the location you selected. Click 'Yes, continue' and click Next.
PC restore will initiate. Once done, click Restart.
Follow the onscreen instructions to create a user account