Ask someone who is medically qualified. Don't do any exercise which hurts - it could affect your recovery. Walk if that's all you can do.
Swimming may also be a good idea as the water cushions your joints, and takes the impact out of exercising.
-------
Save the duck!