A few more details please. What error message, if any do you get.
Does anything else work in that USB socket.
Is your drive getting enough power, my ext HDD has two plugs and on some machines I need to plug them both in to get enough power to run it.
What is ransomware and how do I protect my PC from WannaCry?