If the flan tastes eggy and has a rubbery texture, it was probably overcooked. Try baking it less next time.