Change permalink settings subsite

How do I set the permalinks site by site? when I change the permalink structure of a site in the network gives me a 404 error on the articles?