Jaw pain after removal of braces.

I recently got my braces off. It was no extraction plan and had a bite correction, jaw alignment, gap closure, and the incisors push back too. As per the treatment I got the retainer fast too, but the problem is that, I seem to be clenching my jaws a lot during night, and some other times unknowingly. It is putting pressure on my teeth and it really feels uncomfortable. I never had this problem before the bite correction.

Is this due to the retainer or my jaws. Should I consult my dentist on this matter?