Cuming inside you with a condom?

Em

Is it unsafe for him to cum in you when he’s wearing a condom or should he always pull out?