When ever i go up and down hills the car starts stuttering really badly. It's so bad the whole car is really moving and when i'm goin uphill it starts to loose power. But when the cars on flat ground its fine

Its also started cutting out when i slow down like at a junction.
What can the problem be?