Set goals and priorities: Set clear goals and priorities for your work, and focus on completing the most important tasks first. This will help you stay focused and avoid getting sidetracked by less important tasks.
Create a conducive environment: Create a conducive environment for focused work, with minimal distractions and comfortable surroundings. This could mean working in a quiet, distraction-free space, or using noise-canceling headphones to block out external noise.
Take regular breaks: Take regular breaks to refresh your mind and avoid burnout. This could mean taking a short walk, stretching, or engaging in a mindfulness exercise to clear your mind and refocus.
Use technology to your advantage: Use technology to your advantage by using tools and apps that can help you stay focused and avoid distractions. For example, you could use a productivity app that blocks distracting websites, or a time-tracking app that helps you manage your time effectively.
Usually the most difficult part is to get started, but just questions seems to suggest that is not hard for you to get started, rather than keep going.
Do you like the thing you are supposed to focus on? Because IMO, there is no substitute for sustainable focus if you don't like something (or you aren't forced).