Pill help?

I have been on the pill for 22days and have only had unprotected sex with my husband on the 9th day. After that we used condoms. I'm changing my birth control to the iud and have to get of the pill first. Shall I just stop taking the pill or shall I wait the full 30 days?