Go to your System Preferences, then to Network pane
Click on the Assist Me... button, then click on Diagnostics.
You'll see a vertical column of lites (Network Status). Are they all green?
If not, follow through with the Diagnostics (click Continue), and respond when asked.
Does that fix your connection?