Condom

I just got a boyfriend and am ready to have sex. But I am worried about if the condom will work or if something goes wrong. Any advice?