Is it worth a trip to the doctor for eye pain?

Yes. Eye pain - especially persisitent pain - is not normal. Occasional sharp pains lasting for only a few seconds may be caused by dry eyes. Most other causes of eye pain are more serious. The best way to know for sure what is causing the pain is to have an eye examination. See an eye doctor as soon as possible.