I tried below methods, sometimes work:
1. Buy a doctor toy set, let her play the role of doctor. When she visit doctor, tell her the doctot ask her to eat the medicine. At the time of taking medicine, ask her to follow doctor's instruction.
2. Ask her to sake the medicine as a game, make the medicine to be friendly.
3. When she take the medicine, you should show smileing face. Sometime, take the medicine after playing time is easier.
You use spoon or needle to feed your baby, if using needle, let him/her try to inject into his/her mouth so that he/she will not feel the pressure. Try to feed you baby while he/she is playing distracting his/her attention.