Getting input/output errors on my pidrive

My PiDrive has been working quite well so far but now it’s been starting to act up. All of a sudden any command I try to type gives me “Input/output error”. I can’t even reboot the darn thing as I can’t give the command to do that. I need to pull the plug and after that everything seems to work for a while but then at some point i see the same errors again. Unfortunately I can’t even run ‘dmesg’ as that gives the same error