You need to explain spam in details. But generally if it's an application for a phone or Google or Outlook, then there are settings or preferences that need to be changed. Google the app's help file. A business, contract your IT support team, and if it is through your ISP. You will need to contact support.
I depend on email program you use or web based email website
Settings
Thanks! Your answer is awaiting moderation.