Write an article based on this "Enlist the help of an adult. Hide in safe place. Act normal."
There are several ways to get out of class without getting in trouble. Get help from an adult who can vouch for you, like your parents or school administrators.  If you just need a break, call your parents and ask them to send you an early dismissal. If you are not feeling well, go visit the nurse’s office and see if you can get sent home.  At the very least, you will have gotten a break from class for a little while. Visit the counseling office. Speak to your counselor about what is bothering you, or why you need a break, and ask if they will excuse you from your class. There are several rooms available at school which may be empty or acceptable for you to spend some time in. Try the bathroom, library or cafeteria. You may be able to use an empty classroom if it is the teacher's off-period or lunch break, but be aware, they may return and you could get caught.  Get a pass to go to the bathroom and just hang out there until you feel ready to return to class. This will likely only work once or twice per class since the teacher will notice if you continue to stay away for long periods of time. Get a pass to the library or just go there between classes and stay after the bell rings. You will have plenty of reading material to keep you entertained during your break. Sneak into an empty classroom and hide in a corner where you can't be seen from the hall. You can hide in the cafeteria by going during a lunch break other than your own, or hiding out in the corner when it is empty. Note that there may still be cafeteria personnel working even when no one is eating lunch. If you are going to skip class, don’t make a big show of it. People who are nervous tend to react with either fight or flight mode. If you feel like you are about to get caught, avoid running or being combative with someone who approaches you.  If you are feeling nervous, take several deep breaths to calm yourself down. Don’t act super sneaky or brag about it, just do what you need to do to take a break. This will make it less likely for you to get caught in the process and easier to explain yourself afterward.