I have pink eyes. I also have excruciating headache. Are these two symptoms related? What should I do?

Yes. See eye doctor. Both can be related. There are multiple causes for these symptoms. Consult a eye doctor as soon as possible.
See a doctor ASAP. Excruciating headaches are never normal. They should be evaluated immediately by your doctor. The pink eyes may or may not be associated with the headaches. Do not try to treat this yourself.