Does anyone have any tips of how to deal with anxiety when having a painful or uncomfortable feeling?

Im currently dealing with a very persistent uti and the feeling of it causes me to be anxious.

Im not sure how to calm myself down because I obviously won't know when this will be healed