Sharp chest pains - what to do?

Okay I went to be gym about a week ago, and I went on some weights, no big deal was doing 30KG with my arms, but I had this sudden sharp chest pain, shooting across my right arm and side. Never felt pain like it. It went as soon as I put the wieghts down. Today I was climbing a tree (don't ask) and I had the same pain as I was pulling myself up, I fell down from the tree because of it. I'm now having it even just lying down, or breathing in deeply. It hurts to even press on it gently.

I'm only 19 so I don't think it's a heart attack and the pain stops after a couple seconds/a minute. Should I go to GP?

I don't know if I've pulled a muscle but I've had problems with my heart before where it's been beating abnormally or too fast. Please help😪