If I remember correctly, default settings are good in most of cases, but if you need to change something, go to menu Tools --> Options
Click on Advanced and then on the Network tab. Finally, click on the Settings button. There you can decide how Firefox connect to internet.
Check also the menu File. If the option "Work Offline" is selected, uncheck it.