Pestilence

How long do you have to wait after giving everyone medicine in the pestilence before the quest is completed? Its been days for me and i still cant use the stables there. Thanks.