If you provided a proper invoice and the owner or general contractor has provided you with a notice of non-payment, then you may be able to proceed to an “interim adjudication” to have your dispute decided, on an interim basis, relatively quickly.
Otherwise, you have 60 days from when you completed work on a project to register a lien, and a further 90 days after that to bring a claim in court so that you do not lose the lien. The question of when the “clock starts ticking” on the 60-day deadline can be a complicated one, so make sure you obtain clear advice on that question so that you do not lose out on your opportunity to lien the property.