See your guidance counselor. You can take the test over again, there is no limit of the numer of times you can take it, you can take one section at a time if you need more time to complete the section, you don't have to take over a section you passed, so if you passed one of the sections but not the other, not all is lost, simply reschedule the test section you need to retake and study in the mean time you should do better next time. If you have a disability, speak to your counselor about ADA educational accommodations. Even if you pass, you need your parent's permission to drop out of school. You also need to see where CHSPE is accepted.
http://www.chspe.net/about
In California you will not be allowed to work full time unless you are 18 because of child labor laws and will be difficult to get full time work any way because a lot of people are out of work and most will want at least a high school deploma or GED, CHSPE may be good for some things including going to college. I worked part time (30+ hours) through high school and supported my family following my father's death and graduated early by taking extra classes, this was before CHSPE, and attended college while my high school friends were still there, eventually earned BA,MA&PhD while employed fulltime, it can be done. If your family needs you to work contact social services, also your counselor may have other referrals.