hit head

7 month old was sitting down and went back banged her head how long should I wait for her to sleep?