If you’re ok with pulling the outlet cover off and shining a flashlight in on both sides you may be able to see the hot (black) and neutral (white) wire going to the side screws, or if it is a back-stab connection you may be able to see which side black goes to and which the white goes to. These wires need to be on the correct color screws on either side. ( Silver screw and brass screw. )
see attach link for details if you live in the US.
https://i.pinimg.com/originals/a4/ba/86/a4ba86ca2eaa2d769727076a912e4452.jpg
If the colors are reversed from the image you have reverse polarity at the socket. If correctly wired, as mentioned above you may have a loose screw connection or defective back-stab connection. All are relatively simple corrections if you’re comfortable turning off breaker and redoing the wire connection. Electrician is the certified answer but a quality handyman is quite capable of the same job at a lesser cost if you’re not up for the task.
see attach link for details if you live in the US.
https://i.pinimg.com/originals/a4/ba/86/a4ba86ca2eaa2d769727076a912e4452.jpg
If the colors are reversed from the image you have reverse polarity at the socket. If correctly wired, as mentioned above you may have a loose screw connection or defective back-stab connection. All are relatively simple corrections if you’re comfortable turning off breaker and redoing the wire connection. Electrician is the certified answer but a quality handyman is quite capable of the same job at a lesser cost if you’re not up for the task.