After losing the first set, Serena Williams took control early in the second and fought her way back to reach the third round of the French Open.