Who would be at fault if crash happens

I was driving but didnt notice that the lane got narrower. Definitely learnt my lesson next time and really judge the lane width before attempting to drive next to any vehicle.