Could you kill your pet if they were suffering or they were contagious with some sort of disease?

Or would you have someone else do it for you? You know taking them to the vet isn’t going to save them , so would you still take them to a vet and pay a shit ton of money for them to put it down for
You , or would you take them out yourself. Or have someone else like a friend do it for you?
Updates
9 mo
I just found out a vet could report you to the police if you bring in a contagious pet and you apparently will be fined for it , So if your pet has any sort of contagious disease like rabies etc. from fighting with a wild animal like a skunk or raccoon , you could be fined for it because apparently you are spreading the disease. Which is screwed up on my opinion, so my ads is shooting it if it’s contagious
Could you kill your pet if they were suffering or they were contagious with some sort of disease?
Post Opinion