After sex how do you know your pregnant?

Pregnancy Test, or if you didnt use a condom or birth control.