Discard the vinegar if it has mold in it. If you only see a clear gelatinous blob, however, that is the "mother" and it can be removed and used to make more vinegar.