Could I be pregnant??

So I switched from the depo shot to the pill about 1.5 months ago and I feel like I might be pregnant. I’ve been getting waves of nauseou to the point where I can’t even eat. And also my boobs have been insanely sore. I thought I was good because I got my period 2 weeks ago but now I’m thinking it might have just been spotting because it was very light and only lasted 3 days. Should I take a test?