Baking powder is made of baking soda and a dry acid. It reacts differently depending on what is in your batter or dough. It is possible to substitute one for the other. Substitute 2 or 3 tsp of ...
You cannot directly substitute one for the other. Instead, you have to make sure to modify the amounts and possibly add new ingredients when you swap baking soda for baking powder or vice versa.