Dog twitched after medicine

Our 1.5 lbs dog broke his leg and he twitches non-stop when we give him his pain killer