It is very dangerous for you to get a poke in the eye because it may scratch your cornea to some degree. You need to go to the hospital to let the doctor help you get out of it. Then you need to use the eye drops to get rid of the bacterium and clear the eyes. The warm compress should be used to make your eyes get comfortable.
When you get something in your eye, you may want to rub furiously until it get out. While, rubbing the eyelid can cause irritation and possibly scratching the cornea. So, when you get a a poke in eye, remember do not try to rub it. Do not remove it without proper equipment because it can make the problem worse, see an ophthalmologist immediately.
I accidentally poke my eyes all the time. Don't worry. Firstly, take a deep breathe to make sure that you are in peaceful mind. Then do a simple test to ensure whether your vision is still clear or not. That is to say, blink your poked eye several times, while cover the other one by your hand. Further, you need examine your pupil to see if it still normal. And then, you can put a finger in front of your eyes and move slowly observing the movement of your poked eye. I mean, you must confirm that your eyes are move follow your fingers if your fingers move back and forth. If so , placing a washcloth, which run under some hot water, on your eyes can help to kill the germs that got into your eye. What is more, it is wise to take a nap or go to bed to rest your eyes. Wait a while to see if it gets better. However, if you have any significant eye pain, headache,or light sensitivity, you need head to your doctor for worsening.