Well, usually, the platform provides options to manage who can access your story. You could select specific friends or groups, or just keep it visible to only yourself. Check the settings to figure out the exact steps based on the app or website you're on.
One way is to make your account private. That way, only people you approve as followers can see your stories. You can do this in the account settings of the platform you're using.
You can set your privacy settings to restrict who can see your story. Just go to the settings option in the app and look for the privacy section.