You're likely referring to The Sea of Monsters (Book 2), sometimes confused with "The Curse of the Titan." In that novel, Percy is pursued by Luke Castellan, his former friend at Camp Half-Blood.
Luke has been possessed/manipulated by the Titan Kronos, serving as the primary antagonist throughout the original Percy Jackson & the Olympians series. His tragic arc—from beloved counselor to Kronos's lieutenant—drives the series' emotional core.
The "Curse of the Titan" may reference the overarching threat of Kronos's return, but Luke is the immediate, personal pursuer.