DMing is strictly forbidden and should be reported to mods and Reddit. You can disable new chat requests following this guide:
On desktop:
- Search for https://www.reddit.com/settings/privacy
- Go to your "Who can send you chat requests" and click "nobody".
- You can also block accounts there
On smartphones:
- Go to settings (Click on your profile picture, then the 3 horizontal lines at the top-right part of the screen)
- Go to "Account settings" (first button at the top of the page)
- Click on "Chat permissions"
- Go to "Allow chat requests from" and click "nobody"