A nebulizer (1) as well as a container (3) with a fluid (2) and an indicator device (25) for such a nebulizer are proposed. The indicator device stops further use of the container in a locked state when a predetermined number of uses has been reached or exceeded. Then, the nebulizer is partially opened and blocked against further use. After replacement of the container including the indicator device, the nebulizer can be used again.