it could be your internet connection, your computer, your router, anything really, you've provided next to no information
the standard fixes are to restart tf2/steam/your computer, delete clientregistry.blob (Program Files\Steam), and verify the integrity of the file cache and/or defrag (right click TF2 in Library, Properties, Local Files)
you're much better off asking SPUF along with posting your specs