Keep the cactus in bright, indirect light, because direct, constant sunlight will scorch the plant. A sunny window with a sheer curtain is ideal.
Maintain temperatures of 70 degrees Fahrenheit during the day, and 65 degrees at night, and keep humidity between 50 to 60 percent. If the plant is near a warm air register, place a bowl of water in front of the register to keep moisture in the air in winter.
Allow the soil in the pot to dry out between waterings. If you notice the segments of the cactus wrinkling, you're not watering often enough. Conversely, a waterlogged cactus will not only fail to flower -- it will die.
Fertilize cactus once a month with a pinch of water-soluble, all-purpose plant fertilizer between April and October to encourage growth after the first flowering period.
Prune flowering cactus in April after its first flowering. Pinch off two segments with your fingers or cut them with a pair of sharp scissors. Doing this encourages branching, and starts the cycle of buds and flowers on each resulting branch.