Autoclave the contaminated culture and start again from an isolated colony. Use the culture from this colony to prepare a new glycerol stock and pray that your contaminating phage is not airborne. Otherwise, you can also follow Klaus' advice and try to isolate a phage-resistant mutant of your strain.
You could try isolating the phage or any resistant bacteria, but the safest route is probably to go back to the most recent uninfected culture. I don't know what species or strain of bacteria you are using, so it could even be an induced prophage. In that case, your options are more limited.
You need to determine whether you just had contamination from your medium or inoculation or whether your stock was contaminated. If it was your stock that is contaminated then I would strongly advise isolating the plasmid DNA and retransforming into a new host.
I would not advise isolating a resistant mutant unless you have no other option. Because otherwise your control strain and your experimental strain will no longer be isogenic.
Are you sure it was a bacteriophage? Spread 0.1 ml of a fresh overnight culture of your bacterial strain over an LB plate and let it air-dry for about 15 min, then spot 10 ul drops of 10-fold serial dilutions (10-1 to 10-8) of your failed culture onto this plate, let dry and incubate overnight. If it was a phage, you should get cleared zones at low dilutions that break up into individual plaques at higher dilutions.
What you do about this will depend on your experiment...what strain are you culturing, and what is the experiment?
I am with the colleagues who are saying to go on with a non infected, non resistant strains. Preferably a clone that was never in contact with the infection. You have to get back to an uninfected culture of the exact genotype you want. Otherwise you completely lose track of what you are working with. Maybe a frozen stock? Or a new transformation? Definitely also have a look at the source of the contamination. Sterilize and sanitize more than you routinely would as to get rid of the contamination.