How do I wire a light fixture to a switch that currently controls an outlet?

my switch currently has two hot legs going to it.
9 answers 9