Do you need to supply higher voltage to a solenoid if using a flyback diode

Where?