Being productive most times is just being able to avoid some distractions and focus on what needs to be done.YouTube can be a productivity tool but also a distraction, so the author researched ways to prevent distraction on YouTube.The author suggests installing the Stylus browser extension and using a specific code to optimize YouTube for productivity.The code hides elements like video suggestions and comments to minimize distractions while using YouTube.