You've committed a crime and have a bounty or fine. You need to pay off a fine at the authority contact, or the bounty at the nearest interstellar factors... if your notoriety is 0.
Or, just don't pay and don't return to a port owned by that faction.