Matters of war

How, and by whom, is the President held accountable in matters of war?