Internet stopped working

Internet behaved flaky in the morning. Then later stopped working all together, Called AT&T they rebooted it and it came back fine.