dopamine fasting basically means you ban yourself from unproductive sources of dopamine ( like youtube, social media, video games ) until you become more sensitive to dopamine and boring shit ( work ) isn't boring any more.
it's the same basic idea how if you want to make kids eat their vegetables ( i am not saying vegetables are healthy, just that nobody wants to eat them ) you can't let them eat candy.
if you take away their candy and everything else that they really want to eat they will eventually become hungry enough to where they want to eat the vegetables.
with dopamine fasting you do this to yourself on purpose. i tried it - it works. but it only makes sense if there is something you should be doing and you're not doing it.
although, in extreme cases like mine it may make sense even if there is nothing in particular that needs to be accomplished, because dopamine fasting will ultimately push you to search for things to accomplish instead of just being complacent doing nothing.