This is a complicated and easy question at the same time.
Easy because you can use the same equations you use for normal motion (say, under the influence of acceleration):
Difficult because you have a "fixed" acceleration, the acceleration of gravity,
This acceleration is always directed towards the centre of our planet so, when you analyze problems involving vertical motion you must be careful with signs.
What I do is to set a reference frame where "down" is negative and "up" is positive.
As a consequence the
If you throw a stone upward (from the origin at
The stone will subsequently accelerate downwards under the action of
Hope it helped.