Vagina question

Sometimes I find mucus type look yellowish stuff come out from there ? I don’t do anything wrong to my vagina or not even sexually active im confused if this is normal or not also I’m getting my period in 9-10 days. And I feel crampy