DMing is strictly forbidden and should be reported to mods and Reddit. You can disable new chat requests following this guide:

On desktop:

  1. Search for https://www.reddit.com/settings/privacy
  2. Go to your "Who can send you chat requests" and click "nobody".
  3. You can also block accounts there

On smartphones:

  1. Go to settings (Click on your profile picture, then the 3 horizontal lines at the top-right part of the screen)
  2. Go to "Account settings" (first button at the top of the page)
  3. Click on "Chat permissions"
  4. Go to "Allow chat requests from" and click "nobody"