How do I retrieve previous iTunes purchases
You can download previous purchases from the App Store, iBooks Store and iTunes store. The following Apple article outlines what you need to do depending on the store and platform you are using. 

http://support.apple.com/kb/HT2519