Damage both legs first to prevent the hungry zombie from inflicting wounds. Next, damage both arms. With all limbs damaged, you can safely attack without getting hurt.
For red-eyed hungry zombie, obtain a gun called headhunter and then shoot the head for instant kill