I'm by no means a teacher but... It's normal to feel some tension and even muscle soreness when practicing new pieces, chords or scales. Especially when you haven't played for long. In fact this is an evil necessary, since your muscles needs to grow and get stronger, just like with any other training.
But you should stop immediately if you feel pain, this is most important. And be sure to take frequent breaks.
All the best from Sweden.
1965 - Masaru Kono No.5
1972 - Yamaha GC-3D
1973 - Ryoji Matsuoka No.80
2004 - Lars Jönsson Torres SE 114
You are the instrument, not the guitar