If you receive nuisance calls and messages, from sales and marketing companies for example, you may want to take steps to block them.
For Android phones:
For spam text messages follow the same process in your Texting app, but scroll down to "Spam message settings."
You could also register for the Telephone Preference Service (TPS). This is a free service where you can record your preference not to receive unsolicited sales or marketing calls. For more information, visit the TPS home page.
There are also other options available to you regarding both calls and texts. For more information, visit this Ofcom page, this Information Commissioner’s Office page or this Information Commissioner’s Office page.