The unconfirmed transaction is still valid and may still be floating around in the network, so be sure to spend its inputs to yourself, or the transaction may be confirmed at a later time and you'll end up double-paying.
The simplest way is to send all your bitcoins to yourself. Don't forget an appropriate fee