My sister gave my 20 months old 4+ years cough medicine

She gave my daughter robitussin becuase she has a cold and started puking. I guess she spit some of the medicine out and she is still puking but i read the box and says do not use if under 4. What should i do?