How did Percy Jackson become son of Poseidon?

His mother and Poseidon mated