Use a transparent background format such as PNG or WebP
Open the image in an editor that supports transparency
Select the background with a magic wand, lasso, or selection tool
Delete the background or mask it out
Refine the edges if needed
Save or export the file with transparency enabled
Avoid saving as JPG if you want to keep the background clear
