Here is a general guide from Levelset: https://www.levelset.com/mechanics-lien/california-lien-law-faqs/
If you have specific questions after reviewing the basics, you should contact an attorney for assistance. Many will provide a free legal consultation for you.