Can you specify what type of pipe it is, Plastic or Cast Iron? And what type of joint it is.
If plastic you should ideally dismantle the joint and replace any perished seals.
If CI, you could try bitumen mastic but you need to remove the original sealing compound and dry the area thoroughly first. Leave for a few hours for the sealant to set.
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!