My girlfriend is a danger to herself and others help me?

I recently found out my girlfriend is addicted to crystal meth. How do I go about getting a court to declare her a danger to herself and others so she can enter a state funded rehab center. We live in los angeles