Have a drain pipe leaking, can I apply sealant

Or will I have to apply Teflon tape. It filled up a small plastic plate in 3 days