When you are ‘debarred’ from doing something, you are officially prohibited from doing it – it could be the law that prevents you from doing it or some rule. The word, which is mostly used in formal contexts, can also be used to mean ‘shut out’ or ‘exclude’.
Example: For some strange reason, Teja was not debarred from joining the teaching profession.
The word ‘disbar’, on the other hand, is mostly used in a legal context. When you ‘disbar’ a lawyer, you expel him from the Bar. The individual has done something illegal or against the ethics of the profession, and as a result he is deprived of his right to practise.
Example: The CEO was unhappy because both his lawyers had been disbarred