That's a bit like asking 'how do fish get into the Atlantic?' isn't it? Either they're born there or they migrate to it, depending on the species of frog and the time of year. I won't bore you with the details.