Help!

I had unprotected sex on the 1st, which happened to land on the days I was ovulating. I am no longer on birth control. I took plan b the next morning, My friend says that plan b does not work while you are ovulating.. should I be worried about pregnancy?