What is cervical mucus?

Is it like female cum? I guess I’m asking if I’m supposed to orgasm before I check it, or check it basically whenever