Is it an iPhone? If so, when the picture is on the screen, press the “Volume up” button and the “side button” simultaneously (the side button is the one you normally press to close your phone.) If the ringer is on you’ll hear the “snapshot” sound.
Then go to Photos. The screenshot you just took will be the most recent photo.
If you have a non-iPhone, I have no idea.
Good luck!