Well, you need to read the below given article to repair corrupt SD card. This article contains some tried and tested solutions which will surely help you to resolve your issue without any difficulty.
https://www.rescuedigitalmedia.com/corrupt-memory-card-repair