Till it's over
Your doctor should instruct you to stop wearing your contact lenses until your pink eye
has completely resolved.
Whether viral or bacterial, the critters causing your pink eye can survive on your contacts and reinfect you. Better yet, throw out that pair and start a fresh pair after your pink eye has resolved. But don't start wearing contact lenses again until after your pink eye has resolved.