Talk to your parents about this. If you think you can’t handle AP classes because of your mental health, then you need to get help with mental health. See a psychiatrist/psychologist. If you are diagnosed with anything, then you and your parents should talk to the Guidance Counselor about your schedule.
Also consider other things to do to get help with your academics:
http://talk.collegeconfidential.com/high-school-life/2026961-what-to-do-when-you-arent-doing-well-in-a-hs-class-p1.html