Paint doesn't support transparency, period. If you open a pic with transparency in paint, all the transparent parts become solid colour.
For a pic to be transparent, it needs an alpha channel (without one, any erasing will simply result in the background colour of the pic, rather than actual transparency). The image format obviously also needs to support transparency so don't encode in formats like jpeg.