How do you reformat ssd?

i want to return my ssd but i have files saved o;n it. I want to get ssd liek factory format so its at blank state the way i first bought it. How do you erase all files? its for my laptop.
2 answers 2