how to fix the broken pins of fly-back transformer?

I have broken the primary & secondary coil pins of a fly-back transformer and i need to repair it. can anyone help?

Wind your own primary on the bare ferrite core. No chance on the secondary, I hope you like the smell of melting plastic.
thanks for the suggestion
No worries!