If you don't want to receive DMs from everyone on Twitter, you can change a few settings and the reduce the number of spam and unsolicited messages. Follow the steps above to go to your Twitter settings. Then, tap Direct Messages (instead of Your Tweets). Toggle the switch next to "Allow Message requests from everyone" so it turns grey. You can also filter what Twitter deems as "low-quality" messages on this settings page too. Toggle the switch to the right of "filter low-quality messages" so it turns green. Then, known spam accounts can't send you messages either.