as others have posted maybe the hard drive has failed, need to check in the bios, if so a new one is required, and a fresh install of W8, or if you have a back ip , use that.
or try and recover any data you need and buy a new or a 2nd hand computer, with at least windows 10, but ideally if new W11. use 'classic start menu' to make it operate like W7, windows 8 was never any good.