My computer keeps randomly freezing

it keeps randomly freezing ..sometimes it will do it when im logging on and sometimes it will do it when im not doing very much. i dont know much about computers so please be descriptive. i run windows xp .nvidia X7500 or somthing like that
 
Well, first describe exactly what happens. List all your computer specifications in detail. Without those we can't really help you.
 
Back