At work today,my boss told me that I must stop to sleep. (incorrect)
At work today, my boss told me that I must stop sleeping. ( correct )
reason :
If you stop to sleep, it means that you stop what you are doing in order to sleep.
Example: when I was walking home, I stopped to buy a news paper
Maybe repetitive but I think it is fun to read again