Write to SD card fails

How do you disable software write protection in a SD card?