sorry for my earlier post the pc was not starting up because the rams are not set properly,now its ok pc is starting up properly but still when i try to shut-down it restarts after 3/4 second.
I already updated the bios .
reset the bios
reinstalled the OS.
unchecked wake up on lan or any usb...