Trim it.
Cilantro is a cool weather crop.
The heat either kills it or makes it bolt, (go to seed).
That's about all I can tell you without knowing where in California you are, your temperatures, or zone.
Anything i say, could be misrepresented, or wrong.