I figured we might take a minute to get on the same page with regard to how stealth works in D&D 5e.
First, remember the basic conversation of the game: (1) The DM describes the environment. (2) The players describe what they want to do. (3) The DM narrates the results of the adventurers' actions. Somewhere between 2 and 3, the DM has to decide if the action described automatically succeeds, automatically fails, or has an uncertain outcome. In the latter case, the DM will call for an ability check. Players do NOT get to ask to make checks. In fact, players shouldn't want to since, remember, the d20 is NOT your friend. Given half a chance, it will kill you and everyone you have ever loved.
As an aside, in step 2, you should make your goal and your approach abundantly clear. "I do X to accomplish Y..." or some words to that effect. It shouldn't include the words "make a Z check." If your goal and approach are clear, it makes it easy for the DM to decide on an outcome. Without a clear goal and approach, the DM has to stop the game and ask you questions until what you want to do is clear. So do please try to be thorough (but concise).
Here are the basic things to remember about Stealth:
1. If the creature can see you clearly or can hear you, you're not hidden.
2. If you're hidden, you're revealed after you hit or miss with an attack.
So you can pop out from around cover and attack, gaining the benefits of hidden, at which point you're no longer hidden. You can't start as hidden, move into plain view (or make a lot of noise), and still gain the benefits of hidden since you're clearly being seen and/or heard. Ranged attacks from hidden are obviously going to be way easier to pull off than melee attacks. Please note that if you try to hide in the same spot again to gain the same benefits on your following turn, I will more than likely give the target advantage on passive Perception so plan accordingly.