Foam are indeed the best, but there's a lot of variation in sound blocking quality and ear comfort. Experimentation is needed to find what works for you.
White noise also helps without the need for ear plugs. Depends how loud the disturbances are.