Laptop screen black

sometimes when i turn on my acer (running windows 8), especially when its been in sleep mode, it only shows a black screen. the power light is on and the fan running. I cant access safe mode or turn the computer off. i just have to wait for it to die and then restart it. i have run diagnostics and virus detection. both came up zero. Please help!