Ash didn't actually catch his Pikachu in the anime. Pikachu was given to him as his starter Pokemon by Professor Oak in the first episode of the original anime. Their relationship was rocky at the start, but they soon became inseparable.