Open the Messages app
Open the conversation containing the message
Press and hold the message you want to unsend
Tap Undo Send
Confirm if prompted
Note that Undo Send only works for a limited time after sending
Note that the other person may still see the message if they are using an older iOS version or non-Apple device
