No, this practice is avoided because recent data suggest that taking Tylenol™ or Advil™ before the vaccine may decrease the effectiveness of the vaccine (shot).
Only give after the injection, when the child is in pain or seems uncomfortable with a fever.