Open the photo in an image editor
Select the person you want to add
Remove the background from their image
Copy or place the person into the target picture
Resize and position them correctly
Match the lighting, color, and shadows
Blend the edges so they look natural
Save the edited image
