Okay so let's start, what is interp? Interp is an intentional game delay added into TF2 (and other source games) to smooth out movements of players that have janky internet. With console commands, you are able to adjust these settings and are encouraged to do so as Valve's stock settings are pretty outdated.
But it also has some downsides
cl_interp <time>: Time being in seconds, so like cl_interp 0.030 = 0.30 seconds or 30 microseconds. It is best to start at 0 (cl_interp 0) and go up from there.
Use your net_graph 1 settings as a guidance!
Your lerp setting is obvious a reflection of your lerp settings. If your setting is white, you're in a "normal" range, yellow is considered "optimal", red is way too low and orange is where you may start to see some fuck ups.
cl_interp_ratio: Set this to 1 or 2, will save yourself a lot of time.
cl_cmdrate and cl_updaterate: cmd rate is your rate at which you send commands, updaterate is at the rate in which you receive them. You can try setting both of these to "66", as they default to around 20/30. If your connection isn't the best, you may encouter problems so it's best to leave these alone unless you feel like testing it out.
NOTE: It should be noted you cannot change these settings while in game. This was added to stop abuse, instead you must do it from the main menu or even better, set it in an autoconfig.cfg before you even launch the game. If you don't know how to do that, it's simply making a file called autoconfig.cfg in your /steam/steamapps/common/team fortress 2/tf/cfg folder!