Replace the receptacle. It's starting to fail.
Learn what "break off tabs" are, and look for them.
The receptacles should be able to hold a small wall-wart. If it can't, then the thing falling out is the least of your problems. A poor gripping connection will also cause series arc faults, which will create heat and potential fire. It will cause galling that will damage the prongs and the socket, making further connections worse still. The saving grace is that it's a series arc fault, so the fault can't draw more current than the device does. But plug a heater in there later, and you could have big trouble!
So shut the breaker off (check both sockets for voltage) and pull that receptacle. Take some photos first. Get a $3 Leviton ProLine or similar unit, not the 75 cent cheapies.
Check the "break-off tabs" on both sides, realizing brass screws are a different side than silver screws, and match them on the new one. Then remove the wires from the old socket (loosen screws or stick a paperclip in the backstab release, or just twist it out of the backstab) one at a time and move them to the new socket exactly as you found them.
Do not attempt to upgrade to a USB socket or GFCI without first coming over to diy.stackexchange.com with pix of what's there. Those fancy outlets wire up very differently than normal sockets, and the differences cause lots of wheel-spinning and frustation for a novice. Better to ask first, wait a day, read, breeze through the upgrade.
Lastly, don't destroy position information. Wire location matters. If one white is with some blacks, that kind of thing is a Rosetta Stone. Don't tear all the old equipment out and post a picture like this, it won't end well. (Colors don't indicate what wires do). Colors are becuase of how cables are made, not what wires do. Take photos before you unhook anything. Do that and 95% of the time it'll go smoothly, and the diy stack can sort out the other 5%.