273K is used for gases. If you are given a question and it says it is at STP use 273K (standard temperature).
Example: Idea Gas Law PV = nRT, use T = 273 K if STP
298K is for things involved in thermodynamics. So if you are asked to give standard enthalpy, entropy, Gibbs free energy, or voltage you will use 298K (standard conditions).
Examples: Gives free Energy: deltaG = deltaH - TdeltaS, use T = 298 K if standard conditions
Hope that answers your question.