it says purchase code already used?

There’s nothing wrong - it’s very clear that themes can only be used once per license. All you need to do is speak to the author and it should easy to use again.

You can request a refund using the link on the refund info above, or contact envato Envato Market Help and Support but as per above, there has to be something broken, rather than a change of mind, lack of experience, etc.