They are both common among English speakers. I prefer to teach "used to" to express habitual or repeated action in the past, reserving "would" for the conditional. When the student has advanced enough not to be confused by the dual use of "would" I think it's ok to teach that as well.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.