When the heads wilt, you need to cut them off because otherwise they will go to seed and consume energy the plant could invest in growing more flowers.
geraniums are pretty flower an when bloom and the flower are death need broken off to the stem died flower need to be taken off this will make them flower