How to stop Spam Email in Gmail, here’s the way

Report spam and unsubscribe from spam emails
After logging in to Gmail, select all the spam emails you want to unsubscribe from.
After that click on the ‘i’ icon given at the top, after which you will see the option of Report spam or Report spam and unsubscribe.
Here check the selected email id once again and then select the Report spam and unsubscribe option. After enabling this, you will not receive emails from these accounts.
Apply filters to identify spam email
Open your Gmail account and click on the search box at the top. Type unsubscribe here to list all promotional emails.
Select all these spam emails, but do not contain any email or newsletter that is of use to you.
Now click on the three dots above and select Filter messages like these.
Now click on the Create Filter option and choose what you want to do with these spam emails. For example, if you want such emails to be deleted automatically, you can click on Create a filter and choose Delete option.
Now you will get a popup telling that the filter has been created. In addition to deleting, you can also label such emails.
Use a temporary email ID
When you share your Gmail ID on different sites, then this ID goes to many third parties. In such a situation, the risk of getting many types of spam emails increases. Sometimes these spams look very valid and you can get trapped in a phishing attack.
In this case, instead of giving your primary Gmail ID, you can give a temporary ID.
Websites like temp-mail.org provide you free temporary IDs. You can use a temporary ID from any such site.
This way you can keep your primary Gmail account secure and spam free.