You can block unwanted text messages on an Android phone by blocking the phone number with just a few taps.
Unless everyone is using iMessage, there's no way to remove yourself from a group text — you'll need to mute or block it.