It depends on what graphics program you're using. In Gimp it's very easy*: use the eraser on the lowest layer to create transparent areas. Save as dds, setting compression to DXT5. Gimp require a dds plugin, which you can find on google.
*Making it look good is the hard part