Stamina only improves when you train it. It will, however, decrease on its own - all players experience drops in stamina on a random basis throughout the season.
The best time to train stamina/free throws is during the all star break or between seasons, when you only have 2 games per week. It's easier to team train in those weeks because stamina/FT training is not dependent on minutes played.