I'm going to give you an anesthetic injection.

Literal

Anesthesia [possessive-の] injection [object-を] do.

麻酔の注射 ('anesthetic injection') — 麻酔 ('anesthesia') + 注射 ('injection'). をします is a polite, matter-of-fact medical statement. The subject (doctor/dentist) is omitted.