22 weeks pregnant

Went to the dr two days again and got diagnosed with an infection I think BV. Started medicine and anti contraction medicines. I am still cramping pretty bad in my back and lower belly area and having mild irregular contractions. How many days in a row should I have cramps before I get concerned? What do I do now?