If I stop taking doxycycline, how long before levlen (ethinyl estradiol and levonorgestrel) works?

Next cycle. Depending on how long you took the drug, i would recommend waiiting until the next cycle to depend on your birth control to be safest.