You should not avoid school entirely due to anxiety because avoiding it might not be a good idea in the long term.  Instead, consult a counselor, a trusted adult, or mental health professional to seek guidance and coping strategies.