Depends. If you or your doctor suspect that the infection might be related to your cosmetics then you should discard them. Otherwise, it is often not necessary. Although make-up is not sterile and harbors a lot of germs, you have likely been using yours for a long time prior to developing conjunctivitis and it was probably not the cause. Of course, it can't hurt to buy new make-up!