 The first way to do is, first of all, one is to develop a healthy lifestyle that I indulge in hobbies, I indulge in relaxation, I take some short holidays periodically to reduce the stress of the workload and positive thinking, motivating yourself that I have to beat the stress with the help of exercise, meditation, relaxation, hobbies, indulging in sports or other activities which are fond of, this is one way you can prevent anxiety but it may not be entirely preventable, you will have to try your best if it is possible otherwise then we have to take the medical help.