Hello
Vicodin can cause nausea and vomiting and together with Zoloft which can cause nausea you may have your answer. You said you take other RX meds so it may be the whole combo.
You may want to check back with your MD if the vomiting continues as you could become dehydrated. I wish you the best.