Discharge a sign of pregnancy?

I'm having a lot of discharge and it is white in my underpants. Is this a sign of pregnancy? Could it be a sign of period coming? Is there a way to tell the difference? TIA!