You can probably give it to her again. If it is liquid, give it to her in two small sips, no more than a teaspoonful at a time.
I agree with AnnieBrooke. You can give it to her again. Make sure also that she drinks a lot of water and that she gets a lot of rest. Do not worry about her throwing up. Sometimes it is children's way of expelling the phlegm.