I have 3 ways
1. Make a 30 minutes timer more or less for your task and then after finishing that time make another timer for a 10 minute break and after that makes another 30 minutes and so on like a cycle (I do this while studying)
2. Music helps sometimes I also watch something while doing another thing. This helps me...
3. Rewards and setti...... reply