check if the SSD is still correctly plugged in. Remove and reinstall it while power is unplugged from the wall.
check the SSD with Samsung Magician and update its firmware with it, if available.
chipset driver and BIOS is up to date of the motherboard?
which motherboard is it?
first of all thank you for your response
i have checked the disk with Samsung magician i run all the test no errors at all
bios ,firmware and drivers are all up to date
i will try to resit the drive
lastly i came to realize that the problem must have started when i updated the firmware of the disk(via Samsung magician )about a month ago,after that i was having a lot of blue screens then i updated the drivers and then the bios no it is only freezing and have to do a hard reset but the last week it only happen two times the problem is rare so i don't know if what i am doing is fixing it.
again thanks for your response .