I sometimes don’t know which comes first.
The character I’m writing who I suddenly realize is dealing with struggles I relate to. Or struggles of my own that I see more clearly because one of my characters decides to deal with them in their own way.
Unlike characters in books, however, I don’t go through a wild adventure in a week’s time that overcomes my flaws at once.