If I knew that you were studying English and that you were taking an English course,
I could ask you,
"When did you have the (or 'your') last English lesson?" and you would answer
"I had the (or 'my') last E lesson yesterday."
But, if I did not know that your were having E lessons, then I would ask,
"Have you ever had an E lesson?" and you would answer,
"Yes, I had an E lesson yesterday".