Swansea City defender Ashley Williams has stressed the importance of bouncing back from their back-to-back defeats in the Premier League.