I have to repair my external hard drive each time I plug it?
Try ejecting the external drive before you unplug it. You can either use the Eject icon or use Command + E when its selected int he Finder as mentioned by Tetsujin.