Question: has studied or had studied?
Answer: Well, if you continue with something done yesterday classified as the simple past, and want to show the time separation between the situations, use the past perfect: "I had studied a very hard lesson the day before yesterday, so now I was tired and needed a break." Otherwise, the "studied" is OK.