A nebulizer and a container with a fluid for such a nebulizer are described, the container comprising an indicator device fixedly mounted on the bottom of the container, the indicator device stopping further use of the container in a locked state when a predetermined number of uses has been reached or exceeded, and when the nebulizer is partially opened, it is blocked against further use, and after replacement of the container including the indicator device, the nebulizer can be used again.