You should let your banana bread cool in the pan for 15 minutes, then remove it to a wire rack to cool almost completely before cutting. This helps to let it complete the baking process. I like to let it cool completely, so I wait an hour or two, but you can likely cut into your banana bread after 45 minutes or so.