Hi sir,
This condition is known as draining sinus, through which pus comes out occasionally. This sign indicates that nearby teeth needs treatment mostly Endodontic treatment ( RCT) if the tooth is not moving. Draining sinus is because of severe infection beneath a tooth due to multiple reason like deep cavity, trauma,etc...Treatment needs to start asap to stop spreading of this infection to other teeth nearby.
Next Steps
Kindly visit a dentist, you can come to us @CLINIQUE at kharghar!