For cases where someone has been denied entry at a country's or territory's border for any reason

In several cases, people have questions about whether having previously been denied entry to a country or territory has an effect on subsequent attempts to get a visa to the same country or territory or any other, or if there is any action they can take following having been denied entry. This tag is for such questions.