The answer is general yes. But, to be certain:
1. Carry a written prescription written in both your native language and English.
2. Confirm that the specific medications you take are admissible in each country to which you propose to either travel or transit.
Any nation's closest consulate can answer your question.
Don't rely on what people told you used to be the case.