What do you do if your 2.5 year old has a big bump on the head from falling out of bed?

Apply ice, or something really cold to the bump. The chances are that the swelling will rapidly reduce. If you have any worries about the child's behaviour (if they seem mentally impaired or dazed for longer than a few mnutes), consult a doctor or hospital.