The poking of eyes is such a dangerous thing which may cause you lose sight if the poking point is the cornea. If you just feel a little pain with no obvious damage, you can use the warm cloth to cover on the eyes to release the symptom. If you feel a little different, you'd better go to see the doctor and have a check. Hope you have no serious damage on the eyes.
If your cornea is not damage, there is no problem. You said your eyes are painful, you can have a cold compress to relieve traumatic bleeding and edema in 24 hours. After 24hours, you can have a hot compress which can promote absorption of congestion and edema. At the same time, you can drop antibiotic eye drops. But if you use these methods, but it does not have an effect, you should promptly go to the hospital and have a detailed examination.
You'd better take care of your eyes because it is so tender. When eyes are injured, your vision will be blurred resulted from pupil edema, congestion. The best way is to go to professional hospital in time and check out carefully, if your eyes are really hurt. Otherwise, if you missed the best treatment condition, there's a potential for further damage for your eyes.
GO TO THE HOSPITAL ASAP!