Hi trin03,
It sounds like you're receiving spam emails and messages, and we want to help.
From the screenshot you provided, it looks like you already have iMessage set to filter messages from people that aren't saved in your Contacts, which is a great step.
This page has some great information on how to block, filter, and report unwanted messages: Block, filter, and report messages on iPhone
This link also has some additional steps you can take to block and report unwanted messages and emails: Block phone numbers, contacts, and emails on your iPhone, iPad, or iPod touch
Take care!