There are different types of stiffness. If you have been exercising and have DOMS (Delayed Onset Muscle Stiffness) this will subside after a number of days. If you are getting stiff from sitting at a desk all day, you can try:
Heat Therapy
Massage
Movement Exercises
Stretches
Strength Exercises
Cold Therapy
Bracing