For recipes only using baking powder, it is recommended to rest the batter. If you are using both baking powder and baking soda, it is best to bake the batter right away because the baking soda will lose its strength the longer it sits.