PET owners have been advised to contact the coastguard if their dog gets stuck or lost near the coast.