If you are in class, ask to be excused to the bathroom or the nurse's office. Ask a friend who menstruates if they have an extra pad or tampon you could borrow. If they don't, grab some small change just in case you need to use a vending machine to purchase supplies.