What else can you do in the turn you ready an action?

In your turn you ready an action to hit the enemy in front of you if he tries to hit your friend

What else can you do in the turn you ready the action?

NB:in the turn you decide to ready the action “hit the enemy”, not as extra thing to do in the readied action (“hit the enemy and then move away”)

Can you for example move close to an enemy and then ready the attack if he hits your friend?

Can you move closer to an enemy, hit him with your offhand weapon (bonus action) or use some other abilities (second wind for fighters) and then ready the action to attack if he hits your friend?