Well, if you are a fresher and worked for about 2 or 3 years in any domain that you are not feeling interesting then you can quit your job and look for a job change or learn any extra course or take a break and join in a different domain or job profile.
At the age of 20's, you might not be able to do something which makes you tired or don't like the work you are doing but if you are having a stable and nice job and salary, better not to quit. It becomes risky when you take a break for career change without any proper reasons.
Hope this helps you.