If all you have is a modem, try getting a wireless router and hook it up to the modem. Then hook your ethernet cable into the router. Wireless routers have a built in firewall that will protect from being bombarded from stuff from the outside which can slow down your connection.
bflr - information