Pregnancy and periods

Could I be pregnant even thought u had my period, maybe lasted a little longer, but could I be pregnant even with that? It ended 5 days ago and I've had sex 2 times since then and I bled some both times, today I have a brown discharge, what does this mean? I am also on the birth control pill.