I have a question

is a condom like a birth control?