Why 40 days?
There is a segula (remedy) brought down in the book Noam Elimelech that it takes 40 days to break a middah (character trait). He suggests simply that whatever it is you are struggling with you should act the opposite. If it is anger – be calm, if it is laziness – get up and move. […]