How do u know if u have a chemical pregnancy?

Basically how and what is a chemical pregnancy