Open and erase the drive. Format it as Mac OS Extended (Journaled) with a GUID Partition Map . Name the drive Untitled .
Type Y when asked if you want to erase the drive. macos high sierra 10131 dmg
Select the volume and press Enter.
If your Apple ID previously "purchased" High Sierra when it was current (2017-2018): Open and erase the drive