Plan B

How much time plan B exactly last in your body?? Will it have an effect on my menstrual cycle? Last questions is it safe to have sex, and use no protection at all?