To block a sender you can use filters by following these steps.
- Go to Settings (Gear icon in the top right corner)
- Select Filters in the left menu that appears
- Add the desired fields for filter to move a mail directly to any of the folders (i.e. junk, trash etc.).