The best time to poke a cake is when it’s warm, to avoid crumbling. After removing the cake from the oven, allow it to cool for 10 minutes before poking holes for the filling.