Blacking out?

Uhhh hey so I am currently laying in bed. I do online school so maybe this is related to me looking at my computer for the past hour or so but uh I am laying in bed and everything around me slowly is starting to look really blurry snd pixelated. Becoming a tad darker. Hard to focus on anything. Should I get help? Do you think this is just from the screen time? Not feeling to hot from this. Been happening for like 5 minutes now. Also have a headache on one side of head.