The knot is caused by stress.The stress can come from a variety of things and one likely source is the amount of sleep you do not get and the improper way in which you sleep.These can be relieved by massage and rest.
I'd say it's a cyst,but head pains?Well,if your hair falls off or something weird happens to your skin,it's a skin tumor,I'm sorry.Good luck.