This process may differ slightly depending on your GoPro model, but you should be able to clear your SD card by swiping down on the touch screen and selecting Preferences. From there, scroll down and select Reset > Format SD Card.