Should I test??

I have pcos and I’m not on birth control so I don’t have periods but I’ve been puking for like a week now. I’m not nauseous though I just puke. Could I be pregnant? Should I test or wait awhile???