Without complete medical evaluation it may be difficult to determine the exact cause of your symptoms. Thick mucoid vaginal discharge along with blood can be seen in pregnancy, thrush, bacterial vaginosis or any other pelvic inflammatory disease. If it is due to any infection antibiotics or antifungals are indicated depending on the type of infection. A clinical examination and tests may be necessary for detecting the exact cause of your symptoms. See a gynecologist for more queries and assistance. Treatment will depend on the cause.
Best luck and regards!