mamas I need your help

Lindahxx
Okay so my baby is turning 7months in 2 weeks her sleep has been so bad for past month and I really want her to sleep thru the night say from 12-7 or later what can I do to make her fall asleep longer