When you sit down to code, set a timer for 90 minutes. For that entire time, focus on the app you’re building or the coding problem you’re trying to solve. Do not check your notifications. Do not open a new tab. When you find yourself daydreaming, quickly bring your attention back to coding.