i'm a seventeen year old girl. the last couple of days, i've noticed i've got a pain in the middle of my back on the inside. the pain is on the left. it's on the same height level as my waist, but its back on my back.

its like the pain is on the inside, and its not like a normal back pain. the pain comes fast and lasts for a few seconds and then it goes away. should i go to the doctor? what can this be