Condom question???

So my boyfriend and I tried having sex last night, but the condom kept rolling up?? Does that mean it's too small or too big? I'm very new to this so I don't know how to judge.