difference between "did" or "were"

Hi,

which one is correct " when did you born?"
or

“when were you born?”

Could you tell me when we have to use “did” and “were” in question framing?

Regards
Pavan

When were you born is correct because this is a passive construction (to be born).[YSaerTTEW443543]

TOEIC listening, talks: Commercial for home financing[YSaerTTEW443543]