The pediatrician gave my daughter a injection for her allergy.
Revised sentence:
The pediatrician gave my daughter an injection for her allergy.