Problems with knife tool / visible edges

Hi. I have some problems. I extracted a part of a mesh. . I Joined that part again. When I use the Knife tool, it puts me the vertices, but the edge isn’t drawn. If I use the fill tool, I get some bad looking edges. What should I do to remove them?