She wont sleep

A

My L.O is 2 weeks old she wont sleep in her bassinet at night but she will sleep in it during the day so we have a pack n play tired getting her to sleep in there she wont the only thing she will sleep in is her boppy is there any tricks I can try to get her to sleep in either the bassinet of pack n play?