How to sleep train a 3 month old?

My daughter is 3 months old and she just had a growth spurt 2 weeks ago. She changed her sleeping habit drastically. She used to sleep from 11pm - 5 or 6 am and now she's all over the place! Some nights she'll sleep at 12 and others at 2 am!! Then she gets up 2 1/2 to 3 hours later and continues like that until 11 am. How can I have her sleep by 9 pm