How do I work efficiently without getting distracted?

It is not easy to answer this.

a. Has this been a long time issue in learning and work? If so, I would consult a doctor first to isolate medical causes.
b. For "normals", remove distractions: TV, music, telephone, text messages.
c. form habits of breaking work in to bits, and getting them done, a very brief break (NO TV), then next task and so on.

Bobpursley's suggestions are all great. You might also promise yourself a small reward after you finish a specific task.

To work efficiently without getting distracted, there are several strategies you can try:

1. Create a distraction-free environment: Minimize external distractions by finding a quiet place to work where you can focus. Turn off notifications on your phone and computer, and eliminate any visual distractions if possible.

2. Set clear goals and prioritize tasks: Start your work session by identifying the most important tasks you need to complete. Break them down into smaller, manageable tasks and create a to-do list. This way, you can stay focused on specific goals and tackle them one by one.

3. Practice time management techniques: Consider using the Pomodoro Technique, which involves breaking your work into focused intervals (typically 25 minutes) followed by short breaks. This helps maintain focus and prevents burnout. There are many Pomodoro apps available to help you track and manage your time effectively.

4. Manage your energy levels: Pay attention to your energy levels throughout the day and try to schedule your most demanding tasks during periods when you're most alert and focused. Take regular breaks to rest and recharge if needed.

5. Use productivity tools: Explore various productivity tools that can help you stay organized and focused. There are apps like Todoist for task management, RescueTime for tracking time spent on different activities, and Forest for minimizing phone distractions.

6. Practice mindfulness and self-discipline: Train your mind to stay present and focused on the task at hand. Practice mindfulness techniques such as deep breathing or meditation to improve your ability to concentrate. Develop self-discipline by setting specific work hours and sticking to them.

7. Set boundaries and communicate your needs: Let those around you know when you need uninterrupted time to work. Communicate your needs clearly, whether it's telling colleagues not to disturb you during certain hours or asking family members for support in creating a distraction-free environment.

Remember, finding the right strategies that work for you may take some trial and error. Experiment with different techniques until you find a routine that helps you stay focused and boosts your productivity.