здесь is when you are talking about the place, and
тут is when you are talking about the place But also put an accent on the time.
Like Anton said «и тут входит он: accent on the time;
«здесь и сейчас»: time is for сейчас and place for здесь, so здесь is exclusively for place and has no relationship with the time!