What is the free body diagram?
up is the N force
down is the gravity
What equation do you use when the acceleration is upwards?
N − mg = ma
What equation do you use when the acceleration is downwards?
N − mg = −ma
What equation do you use when the velocity is constant?
N − mg = 0