Birth control while pregnant

What would happen if someone continued or started birth control pills while possibly pregnant? Would it harm the baby at all? Or change anything? Or would it be pointless?