OK It's used?
Use compressed air to drain it (not over 150psi)
Pull the element and put a new gasket in.
Why are you installing a used water heater.... why is it leaking.... is this your water heater? or did someone tell you it works?..... Is it the right element?
I never like to reuse old parts.