Clipping Mask

You can use two images to fit the image above to fit the shape of the image below.
Place the layer that will be the frame, such as a shape, photo, or text, at the bottom, place the image to be inside the frame on top, and click the clipping mask button to apply the effect.