This is the safest method because you control exactly what gets erased.
# Check device connection fastboot devices fastboot erase tool download