Tie activities to your devices. Laptop for coding, desktop for design, mobile for social media, tablet for reading etc. This helps me reduce multi-tasking & cognitive switches
Focus on one thing at at a time. By now there are many studies to prove we suck at multi-tasking.