You can block unwanted text messages on an Android phone by blocking the phone number with just a few taps.
To block pop-ups on a Samsung Galaxy S10, you'll need to open your web browser's settings menu, or delete malicious apps.