I had psychological counseling in college, and the psychological teacher said that I might have moderate and severe anxiety and obsessive-compulsive disorder. Will this be reflected in the file?

Your situation will not be included in the file. Just like you go to the hospital when you are sick, the hospital will also make a medical record for you and need to record some information about you. The psychological teacher in your university records your information, on the one hand, for your future consultation, on the other hand, maybe he needs to accumulate some information for scientific research.

If these situations really exist, you still need to take the time to go to a regular hospital for examination and treatment. You can combine medication with psychotherapy according to the doctor's advice. I wish you health and happiness!