Use an image editor with transparency support
Open the picture in the editor
Remove or delete the background
Erase any unwanted opaque areas
Save the file as PNG or WebP
Make sure the export option keeps transparency
Avoid saving as JPG because it does not support transparency
