It sounds like an infection. Does it smell bad? Then it might be a bacterial infection and you have to see your doctor.
If it is chunky and looks like it contains cottage cheese, it is a yeast infection and you can treat it with over the counter medicine.
If it is not one of these, then you should see your doctor.
Best of luck!