What should you do if you poked yourself fairly hard in the eye with the corner of your laptop and it's a bit red and is it serious?

It should be fine. If your eye seems to keep getting redder then check with your doctor, you could have internal bleeding or a fractured eye, which can cause blindness or scars. It's best to go see a Optometrist and tell him/her what you did. No need to go through your doctor for this. Any bump to the eye area or eyeball itself is extremely important. Sight is everything!