Do you crush while in a relationship?

I went into a relationship well-aware that he didn't want children or marriage; I'm young and on the fence with those topics myself. A single doctor at work who's very family-oriented and is known to want bigger things from work has started flirting with me. I told my boyfriend because I'm not into keeping things from him but I need advice from here. What now?