What could I apply to an opening in an existing metal railing to stop?

I recall a suggestion from somewhere that recommended a substance to be placed in an opening to stop the flying stinging creatures from entering the entrance and I cannot find the solution, any ideas, people? Many thanks, M.D.
  3 answers
Your comment...