If you use antibiotics for the Conjunctivitis "Pink Eye" you'll only contagious for up to 48 hours.
After 48 hours you should be able to go back to work or school as long as you've used antibiotics.
Without taking antibiotics you'll be contagious with conjunctivitis "Pink Eye" for up to 7 days.