I've been having pressure in my head

There was a period where I couldnt sleep 4 days in a row because of a weird head thightening and pressure in head until I took a sleeping pill.

Ever since this I have been getting this weird pressure in head when I stay infront of the computer for 2/3 hours and when I lie down my head is pounding and pulsing with my heartbeat and its hard to fall asleep.The fun thing is that when I go outside with my friends this thing doesnt happen.Only when I stay at home or when im infront of the computer.(before this sleeplessness I could stay on my computer for hours)Please Help I axious thinking .

Have you banged your head lately? The symptoms your describing are the same as my partner had when he got concussion. It could even be related to eye strain, that can cause the same thing, when did you last get your eyes checked? You really should get it checked out at the doctors, if he thinks it's related to your eyes he will advise you see an optician, they can see everything that's going on behind the eyes. But please get checked, hopefully it will be nothing to worry about.

I have hitted my head once really hard but it was more than a year ago so I dont think thats the problem.This monday im going to the eye doctor to get checked because i have been seeing these weird black lines. Thanks

So I went to the eye doctor and everything is perfect with my eyes.Cant figure out why Im having that pressure also sensitivity to noise