Insert a fork into the thickest part of the fillet, and if it flakes easily and appears opaque, the cod is done cooking. Avoid overcooking, as it can result in dry fish.