Counter-terrorism chiefs have released a four-minute video aimed at advising people what to do if they are caught in an attack.
The film, set in a hotel complex, offers advice such as “if there is a safe route, run” and “make sure your route doesn’t put you in the line of fire”.
It also advises “if you escape route is no longer safe find an alternative” and “get as far away from the danger area as you can”.
The video comes as people leave for their summer holidays, but counter terrorism police say there is no specific threat.
Two years ago an ISIL-inspired gun attack at a tourist resort in Sousse, Tunisia, left 38 people dead, including 30 Britons.
“The chances of being caught up in a terrorist incident are still low but sadly we have seen atrocities take place in the UK and abroad,” said detective chief superintendent Scott Wilson, national co-ordinator for Protect and Prepare. “So it is important everyone stays alert and knows what to do if the worst was to happen.
“We want people to think of this in the same way they do the safety film airlines show before take-off. They don’t expect anything bad to happen but it is a sensible safety precaution to show people what to do.”
Tariq Ahmad, the UK’s minister for national security and counter-terrorism, said: “We want people to be safe so they can enjoy their holidays. As well as reading and taking note of our travel advice and taking out appropriate insurance, I encourage people to watch this film before they go away.
“While there is no specific information that British holidaymakers will be targeted this summer, it sets out some simple steps we can all take to minimise the impact of an attack if one does take place.”