When do I need a permit? If you’re replacing a window or adding a deck, get a permit. Or else, you should be prepared for the potential consequences.