For tracking, use closed back headphones, the Audio Technica M20x or M30x is a good starting point.
For mixing/mastering use open back headphones, a Superlux open back will do.
But if you don't have the budget for both go for a semi open back headphone, I recommend the AKG K120 Studio or the K240.