Lewis Hamilton says he has got to try to “drown out the noise“ and focus on his love of F1 after a difficult weekend in Hungary before the summer break.