That's gross as fuck. Put it down humanely at a veterinarian clinic then get it cremated and keep the ashes (or scatter them in its favourite spot outside). Stay with it in its final moments at the vet clinic.
Don't do it yourself because you can fuck it up and inflict pain.