iPhone got affected after upgrading to 3.11.15

Yesterday, when I was using the iPhone an upgrading to 3.11.15 then suddenly an error occurred on my iPhone and now I am not able to connect my iPhone with my MAC. Whenever I try to connect it, it’s showing iphone error 4013 and it’s not connecting. Does anyone have any idea that why this happen and what’s the solution to it? I am very irritated about it!