Heat oil in a large pot or Dutch oven over medium heat. Cook onion 4-5 minutes until soft; add garlic and cook another minute until fragrant.
Add chicken, beans, chiles, broth, cumin, oregano, and optional cayenne. Bring to a boil; reduce heat and simmer 20-25 minutes until chicken is cooked through.
Remove chicken; shred with two forks and return to pot.
Remove from heat; stir in sour cream and cheese until melted and creamy. Season with salt and pepper.
Serve in bowls with chips, cilantro, extra cheese, or lime, and warm cornbread alongside.