Let your banana bread cool for about 10-15 minutes before removing it from the pan to let it solidify and firm up. Gently transfer it to a cooling rack to let it cool completely before slicing, so it won't collapse and become crumbly while slicing.