There are two ways to stop an ongoing expense.
1. You can stop an ongoing expense by using Scenarios. Go to Expense tab and click to stop the expense.
2. You can stop an ongoing expense when you are adding the Expense. Set the End Age to end at the age that you want the expense to stop. Do note that if you stop the expense at Age 50, the last expense will be at Age 49.