Plan B

So last night a guy and I did some stuff. We didn't actually have sex, but I am paranoid anyway. Where and how can I get plan b? Is there any reason I shouldn't take it? I don't want to risk getting pregnant.