You can’t edit WhatsApp messages. However, you can delete the message for the sender and recipient both, and resend it with changes.