Device or computer?
Do you have access to another network where you can try?
Try a restart.
Try a forced restart.
Quit the App store, reopen and try again.
Also try the Safe Mode.
Safe Mode - About El Capitan
Safe Mode Startup – El Capitan. also Sierra
If necessary, contact iTunes Support. Scroll to the bottom of the page in the 2nd link.