Period on pill

Does the pill mess with your period when you first start taking it? I have been having weird brown ish discharge for a week now and I’ve been on the pill for 3 weeks.