Yovani Gallardo homered and struck out six in his first start since being arrested on a drunken driving charge, and the Milwaukee Brewers beat San Francisco 7-2 Thursday for a three-game sweep.