if you start a new line to get a subsidized iPhone 5.. yes you do.
The question lacks detail, but I would agree with the last poster. There are some fees involved. How much is impossible to answer without more detail from you.
Call AT&T & find out what date you can upgrade at the full subsidized pricing. They'll give you other options such as paying $250 + the price of the phone and so forth.