To uninstall the Anniversary Update:
Open the Settings app.
Select Update & security and then the Recovery tab.
Under “Go back to an earlier build”, click the Get started button and follow the instructions.
(Note: If more than 10 days have elapsed since installing the Anniversary Update or the “Go back” option is otherwise not available.)