let's say I have a form for mail. After the visitor sends me a message, how can I clear the form when he or she tries to go back to the form?

I'm toying around with Php for form mail and I'm wondering if there's a way to clear the form if you try to resend the message by using the back button.