What is the best way to light a subject against a white background?

by lighting both the background and the subject separately
by lighting the subject but not the background
by lighting the background and the subject with the same light