I keep getting a sharp stabbing pain in the back of my head on the left side, I've had a sore throat for 2 weeks, and an earache on left side.

Get seen. Don't wait, I suspect you have an undiagnosed infection, if it progresses you may get quite ill. It's really impossible to say based on your description. You have waited long enough- get an answer, a primary doctor or ENT can help. Get help and get better.