I had a few externals doing stuff like that. There are 2 repeating fixes that I try first.

1. Get all the files off the drive then delete the partitions, create new partitions and quick format the volume.

2. Replace the USB cable.
Bob