Have you downloaded Opera from www.opera.com? If you didn't, you could have downloaded adware instead.
Download AdwCleaner and run the software. When this scan is finished, a document (report) will open on Notepad. Close Notepad.
Click "Delete" on AdwCleaner. Restart your computer.
Upon restart, you'll see a new document (report) on Notepad. Close it.
Relaunch Opera and check if Opera is still opening pop-ups.
You can also install one of these AdBlockers:
https://addons.opera.com/pt/extensions/details/opera-adblock/?display=en-GB https://addons.opera.com/pt/extensions/details/adblockforopera/?display=en https://addons.opera.com/pt/extensions/details/adguard/?display=enAnd go to opera:settings and, under "Sites > Pop-ups", confirm that you're not allowing websites to show pop-ups.