Honestly speaking, don't be so hard on yourself. Not many 22 years old out there actually knows what they are doing even though they claim to know what they do. That's just life and always remember its a journey. Enjoy every single process of making mistakes, failing, and more importantly learning.
Going back to your question, I would highly suggest you to work for a few years prior getting your master's degree. With your years of experience and master's degree, then be able to add more value for your next job/career path. I have close friends who immediately jumped into the masters path and only be disappointed that their paper qualification doesn't match their expected salary because they thought 'master's' would be able to help them to get at least at RM 4,000 and above.