switching pills

i’ve been on the combined pill for 2 months but a few days ago switched to the mini pill due to side effects. how long does it take for the new bc to be effective?