I had allergy today, was it due to any of my medicine?

Could be! Without understanding the circumstances and the type of reaction, it is impossible to answer the question. If you started the new medicine, and experienced a reaction, it could be due to allergy to the medication.