If you tell someone to duck it means that they should lower their head because something is about to hit them.
As I walked in the door someone shouted "Duck!" But it was too late and I hit my head.
The batsman shouted "Duck!" as he hit the ball right at where the spectators were standing.
To duck out means to try and escape or get out of doing something.
Sorry, I've got to duck out of this meeting, I've got too many other things to do.
The yellow duck in the photograph was among around 250,000 other blue plastic ducks floating along a one kilometre stretch of the River Thames near Hampton Court Palace in London. This Great British Duck Race raises money for charity.