There are several stages to obtaining a building permit and completing construction:
First, you need to gather all the building paperwork that allows you to start the process.
Then you need to submit your drawing to the city, wait for them to review your application and give you the building permit.
Upon completion of every construction stage, an inspector will visit the site and determine whether the construction can go on and at the end they will provide you with the final occupancy approval.