First after the tree has bloomed, cut off the dead branches. Then give a good fertilier for fruit trees and put some new soil around it. It might not do anything this year, but it should start to show some new growth next spring.
What you need to do is re cultivate it. You need to change the soil of the plant and apply some citrus peelings in it as well to give some nutrients back into your tree. This will help your tree recover. Also you want to make sure you water it daily.
Try fertilizing it. Talk to someone in a garden center/nursery to find out the right kind. You can also spray it if it seems to have insects or fungus.
First after the tree has bloomed, cut off the dead branches. Then give a good fertilier for fruit trees and put some new soil around it. It might not do anything this year, but it should start to show some new growth next spring.