For white-fleshed fish like cod or haddock, remove it from the oven when it is opaque and flakes easily with a fork.