Within 3 months after a publication of a trademark application, any party can file an opposition against the published trademark. The reason most often used for opposition is that the trademark is same or similar to a prior trademark registration.
Opposition is heard by the Trademark Office.