Any good writing excersices/prompts for building stronger characters?

I feel like I have a hard time defining a character's psychology/personality when I'm writing and am looking to improve in that respect. Do you know of or have your own method of getting a better understanding of your characters? Any scenarios you put them in to figure out how they tick?

Any answers would be appreciated !