You can only unsend messages if your iPhone hasn't delivered them yet. If you want to delete messages on your iPhone or iPad, immediately turn the airplane mode on.