|If you have no router and no lan that means you have no internet access which in turn means you have nothing to worry about.|
Now if you are just raw on the internet [which means you have a lan even if its just one machine] you need to engage and configure the windows firewall.
From its help file you get
You must be logged on as an administrator to perform these steps.
To find ICMP and logging settings, open Windows Firewall with Advanced Security.
Click to open Administrative Tools. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Double-click Windows Firewall with Advanced Security.
To change logging settings:
Under Public Profile, click Windows Firewall Properties.
Click the tab for the profile that you want to change.
Under Logging, click Customize.
In the dialog box that appears, change the settings you want to change, and then click OK.
You can specify ICMP settings by creating inbound or outbound rules using the ICMPv4 or ICMPv6 protocol.
Answers are only as good as the information you provide.
How to properly post a question:
Sorry no tech support via PM's