Could be oregnant but got breakthrough bleeding could I rule out pregnancy?

Or is there a chance cuz it’s not a real period.