Remove from the oven and let cool in the pan for 3-4 minutes and then remove them. Let them cool completely on a cooling rack before putting on buttercream.