My shoulder hurts when i type or its cold

Okay, when i time a sower and my hair is wet, it gets on my back and my back gets cold. So my left shoulder hurts really bad. Or when i type or play Minecraft it starts to hurt. I've gone to the doctor for it, and he had me take pills for it and it was fine for a few weeks, but it started to hurt again.
what is it?
Can i get it to stop?

It's probably muscle pains. You are probably slouched over a lot. I have this one spot on my back that always hurts when I'm sitting up on a chair or when I'm cold. I learned that it is from sitting in an uncomfortable way. Try to massage it with oil or lotion for now but you need to make sure you aren't sitting uncomfortable for long periods of time (like at a computer).