Ip address in virtualbox

I having trouble trying to change the default ip address provided by the virtual box (10.0.2.15)
I’ve tried to change to bridged connection but when I do that and turn on the machine I get an error