Traveling with prescription medication is usually fine when done properly, but this is a genuinely serious area because a medicine that is routine at home can be a controlled substance abroad, and some travelers have faced arrest over medications they considered ordinary.
The universal good practice: carry medication in original pharmacy packaging with the label showing your name, bring the prescription plus a doctor's letter stating the condition, the generic drug name and dosage, and keep it all in hand luggage. Quantity should match your trip, with most countries comfortable with a personal supply of up to one to three months; more than that starts to look like importation.
Before you fly, check your specific medications against the destination's rules via its embassy website or health ministry, searching the generic name rather than the brand. If something is prohibited, your doctor can often prescribe an alternative that is legal there. Never post medication ahead to yourself without checking; that triggers import rules that are stricter still.