Plan b

Anyone ever Got pregnant after taking a plan b if you did what day of your fertile window did you take it? , how long before you took the pill after sex? and how did you know the pill might not have worked?