Which game are you playing? The answer differs a lot between generations. In most mainline Pokémon titles the sixth badge sits in a different town entirely and usually requires a mid-game story event or a new route to open up before you can reach it. Tell me the specific game and I can give you exact directions.