Whats the best thing to do if you have a pink eye?

See a doctor. Sorry but seeing a doctor is important to make sure of the diagnosis. Why? Because some forms of viral pink eye can lead to blindness if not properly diagnosed and treated.
Homeopathic. If truly viral then cold compress and artificial tears, but if herpetic, then special medications. Some viral infections require antiviral and sometimes steroid drops. If bacterial then antibiotics. See your ophthalmologist.