Some time swimming in a lukewarm bath - no soap, keep him away from the females for a while. You can look up "phallus prolapse" to get more information.
I suggest you post over on the Duck Forum, there are a number of knowledgeable duck folk there who can help.