Contractions or just over thinking

I’m a day away from being 26weeks.. and I been having horrible back pain and my left side has sharp pain that’s coming and going.. enough to almost make me cry.. I’m on a high risk pregnancy for spotting at 20weeks and 23weeks..