Pregnant but still have period?

Anyone who got a bfp but still having their period? How long does these period lasts?