If you want any of your troops to charge, you must declare this at the very start of the movement phase.
If any of your troops are fleeing, you can attempt to rally them after declaring charges.
Move troops that are subject to a compulsory movement rule.
Move charging troops and resolve other movement resulting from the charge.
Move the rest of your troops.