Computers are supposed to work when purchased. If it's not running as it's supposed to, it needs to be replaced with a functioning computer. Unless you did something which would cause it to stop functioning.

Hope this helps.

Grif