You can also use Block:
Block
f = 2 n + t; Block[{n = 1, t = 5}, f]
or Replace:
Replace
f /. {n -> 1, t -> 5}
or Simplify:
Simplify
Simplify[f, n == 1 && t == 5]
With is what I was looking for.
With
Thanks a lot!