What happens to a law the US Supreme Court overturns?

It is nullified and can no longer be applied. Congress sometimes rewrites laws the Court has declared unconstitutional and passes them in a form more acceptable to the Supreme Court.