The best way to evolve Gastly into Haunter is by leveling it up to Level 25. You won’t be able to evolve a Haunter into Gengar unless you trade it.