Lewis Hamilton says it was important he got back behind the wheel quickly after feeling uncomfortable in the car during Sunday's Spanish GP.