Like Benjamin said, 棒 is informal, while 好 can be used in all occasions. 棒 is equivalent to "awesome" and 好 just means good. So, if you're enthusiastic about a friend's achievement you can use 棒. At a business meeting, you might want to stick with 好.