It's hard to stop spam email entirely, but you can filter it, discard it, deliver it to the selected folder, etc.
- Log into your cPanel account.
- In the Email section, click on the Global Email Filters Icon.
- Click on the Create a New Filter button.
- Enter a name for the filter in the Filter Name text box.
- In the filter rules, you can filter email with many options, and should you want to deal with email, which contains a word like Lottery or other words, then in the first list box select Body and select Contains in the second list box.
- Under Actions list select Discard Message.
- Now Click on the Create Button.