jaadoo aur its effect

I remember hearing about Muslim jinns, but don’t know a lot about them. If an evil jinn comes into the house to harm a person, would the good jinn be able to help in any way?