Here are detailed steps, maybe you can refer to and get something useful. https://www.wikihow.com/Format-an-SD-Card
open