Run DeGoogled or Linux phones running FOSS apps, and an ad blocker such as the web browser extension uBlock Origin. If you do that, there is very little spam, if any. Don't use any Big Tech apps or platforms. As for email, have a separate email to give to businesses and government agencies, and shut it down every year or so and open a different one.