Feel like I'm failing

I have to go back to work soon and can't seem to get my 7 week old daughter to sleep at night at a consistent time. Last night she went to bed at 11.. and it's now two AM and she is still awake... I feel so frustrated and failure