Pink eye usually clears up and goes away fully on it's own within a week or two.
A doctor can prescribe some antibiotics to stop the pink eye from being contagious within 48 hours though so you'll be able to go back to school or work while the pink eye heals.