The edit message option is available for up to 15 minutes after sending the message. You cannot edit or correct the messages sent for longer than that.