The human brain can only focus on one thing at a time.
You can’t do two things at once that require your attention.
INTERRUPTIONS:
You lose focus and attention with interruptions.
It’s imperative that you TURN OFF those notifications on your phone - don’t check your email, IM’s, SS, etc.
Close your door.
Put your phone on do not disturb mode.
Use headphones to block outside noise.