Tap the group name, scroll down, then choose "Leave Group" to exit a group chat.