This depends on the series you're given. There's no formula or standard way of getting the term in general. In the case of an arithmetic or geometric series it just so happens that the deriving a formula is easy and obvious. Do you have a specific series in mind?