Welcome to HCM
you got an injury
to great toe and tear it got infected hence formation of pus.
In such cases pus may form abscess
and that is why it throbs.
In such cases systemic antibiotics may be required so kindly visit a doctor and take proper medicine that is analgesics and antibiotics.
get good cleaning and dressing done , if abscess is formed you may need a I&D to drain out pus.
It is also advisable to take tetanus toxoid
in such cases .
Good luck to you