Step 1: For Those Who Do Not Know
There are probably many ways to prevent this but these are two if the easiest
1. Block the user
2. Stop notifications from a contact
Step 2: Option 1
To block a contact, follow these steps or follow the pictures
1. Click on the number of the person who sent the message
2. Click details
3. Click the "i" icon that is In a circle
4. Click "block this caller"
Step 3: Option 2
Follow these steps or the pictures
1. Click on your friends name in your messages
2. Click "details"
3. Turn on the "Do Not Disturb" option
Step 4: End Result
Option 1 will stop that person from sending that message because he won't be allowed to
Option 2 will still allow you to receive the message without experiencing its effect. So in summary it stops the message from restating your phone.
The reason behind option 2 is because the fact that you have received that message doesn't crash your phone, it's when the message is trying to display as a banner on top of the phone screen
Step 5: Conclusion
I do not know if someone has discovered these methods before me (specifically option 2) but I assure you I am not trying to steal anyone's credit
Thank you for viewing this instructable and I hope this was able to stop the effects of someone constantly sending this to you.