Vm is not accessible to internet

the VM is not connected to the internet but it can be communicated with other VM without any problem in the same virtual network so could you please help me in this