Things that make me procrastinate

this is 3 things that often cause me procastinate :
1. Youtube
2. Social Media
3. Games
-----------------------------------
1. i usually go straight to youtube after i turn on my pc. and end up watching youtube instead of focusing on doing my task.
How do i solve it : build the mood to be enthusiastic about doing work first, and only playing music on youtube
2. usually when i'm busy working, suddenly a social media notification comes in. and it caused me loses focus so that it ends up being fun playing social media.
How do i solve it : i turn it off the notification off all my social media as long as i working my task. and i using an app called "Forest" to stay focused on my work
3. i'm just uninstalled all games on my phone