Hey Madhuri
To join Officers Training Academy (OTA) one needs to qualify the Combined Defense Services (CDS) examination which is held twice a year; CDS(I) and CDS(II).
While enrolled in the OTA you won't be able to pursue Pharmacy as there would be another course, The Platoon Commander Course (PCC) which is a 49 weeks in which the candidate is prepared for his/her commision in the Military Services. After which you would be selected for SSC (Short Service Commision) as Lieutenant or other Military dutiful posts.
It depends upon you whether you want to study M. Pharm and build your career in the same or want to serve in the Military Services through OTA. Look into your interests and consider the same. For further doubts, ask us.
Visit; UPSC CDS
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile