whats happening ?

Im having contractions with really bad pain ! Like i cant bare it . And when i use the bathroom i just see a bunch of my mucus plug coming out ? Is it time ?