From the modem or from the router?
If it's coming from the router, then most likely the fan is going bad. There isn't really a way to fix this, unless you want to tear it open and void any warranty that it might have.
If you just bought it, take it back for a replacement. If it is old, try using canned air and blow out all the vents and see if that helps.