Say it clearly. Keep it simple.
Use um … zu when the understood subject is the same. Use damit when an explicit different subject is needed. Explain communication goals without giving medical advice.
Spot the clue
Um … zu introduces the purpose with the same acting subject ich.
Ich frage nach, um Sie besser zu verstehen.
Aha! See the common trap
Try thisIch frage nach, um Sie besser zu verstehen.
Use damit when the subject of the purpose clause differs.
More examples, less guessing
Ich frage nach, um Sie besser zu verstehen.I ask for clarification to understand you better.