Have you backed up to your iTunes or iCloud? If the answer is yes, you can recover your data easliy, if no and your old data wasn't covered by new data, you can try some softwares to recover your data. I use a data recovery software developed by iMyfone, you can search for it on Google...