Defeating Sin in Final Fantasy X is a journey that unfolds across the main story. You'll progress until you obtain the airship, then use it to crash into Sin and blast off its arms. Next, you destroy its back, which causes a mysterious portal to appear. Enter it, and you'll face Sin directly inside.
From there, simply keep following the story to its conclusion, and you'll eventually defeat Sin and complete the game.