Passengers are allowed to carry their medicine including pills, liquid and other forms of medication with them on a flight. There is no rule that stops anyone from taking his/ her medicine into an air craft. In most cases, liquid medicine have to be in a zip lock bag.
At the security check point, make sure you inform the officers on duty that you have medicine in your hand luggage even before they begin to search your luggage.