if its only just started to do it you should be ok.
basically there is a woodruff key that the pully slots on to.
if its worn it will batter the key, and can rusult in the keyway in the crank being made bigger so it will all be loose.
if its come to that (which i doubt) you will need to replace the crank.