1) What do you mean it shuts down "automatically"?
2) When does this happen (what are you doing when it happens)?
3) Does it always happen after a specific period of time?
4) What is new or different since the last time everything worked properly (ie, new hw, new sw, virus, error, etc)?
5) Does it shut down or reboot?