My friend and I went swimming for 2 hours and didn't use goggles. And we were using our eyes a lot. And now we have foggy vision. Any ideas to help?

Time. If you were swimming in an area that used a sterilizing agent such as chlorine then some time will need to pass for your eyes to return to normal otherwise if you were in another area such as a lake or the river then if your symptoms persist you should see an eye doctor or your healthcare provider.