How do you give medicine to your toddler?

Every time I give my daughter medicine, she always forces herself to throw it up. How do you get your little one to take their medicine?