Possibly sharted myself, what do I do

I’m sitting at the library at my school and I had a gassy feeling and I thought it was a fart so I lightly pushed but it felt like something came out. I’m scared I possibly sharted myself and I don’t know what to do :’) I don’t want to get up because I don’t know if I’m stained or I will smell when I walk by. Should I wait for my boyfriend to get out of class so he can check me or do I go to the bathroom now? What a situation to be in 🤣 ~laughs but I’m freaking out lmao