Open the picture in an image editor
Select the subject you want to keep
Remove or mask the original background
Add a new background layer
Choose a solid color, gradient, or another image
Place the new background behind the subject
Adjust size, position, and lighting if needed
Save the edited picture in your preferred format
