Ok with pain

Dear coaches,
Considering my health conditions, I feel constant pain that affects my ability to sleep and work.
I am not able to concentrate and be productive. That’s why, I am mad at myself. Also I’m afraid that I will not be able to achieve my goals because of it.
Could you please advise how to be ok with this constant pain and my feelings and fears around it.
Thank you!