You asked

What should I do when baby still doesn't sleep?

Is there something inhibiting baby's sleep? If the baby is three or four months old, wakes frequently, and has difficulty settling back to sleep, perhaps there is something inhibiting a restful night. Spend some time in baby's room, while they are sleeping and see if you can identify any environmental factors that may cause them to wake up or prevent them from settling down to go back to sleep. It may be as simple as a blast of air from a window or vent, or a light shining into the cot such as a street light, illuminated face on a clock or even a night light near the cot.

Most babies sleep patterns are erratic for the first six to twelve weeks. You would be extremely fortunate if you see a pattern before this. By three or four months though, if you are consistent and positive, you can help your baby into a regular sleep pattern.

Babies are quite adaptable. Your baby can be taught to sleep in your bed or his cot. With or without you, the choice is yours, but you are likely to stick with a plan that feels right for you.

Every time he wakes during the night, repeat whatever you did to help him sleep for the first time. If you feed him to sleep, then baby will need you to do the same every time they wake up. If you leave them alone to sleep, then they will expect to be left alone.

There are only two essentials for whatever plan you decide to use. Firstly, once you begin a plan of action, see it through. Don't give up after trying something for forty-five minutes. You will have simply taught him that it is worthwhile to persist for as long as possible (babies can be very persistent).

Give your plan a chance to work; stick with it for at least a couple of weeks. Don't disrupt it for night out or a holiday. Each new plan means that baby has to learn a new set of habits. Old habits take time to break and new habits need time to develop. Don't confuse your baby by frequently and haphazardly changing their routine.

Your baby will be comforted into sleep by a predictable and restful bedtime routine. They will also be more likely to sleep if you try to avoid letting them nap in late afternoon.

More questions

Tips on how to ease colic
Causes of colic in babies
When to Stop Swaddling Baby
Something is inhibiting baby’s sleep.
Establishing a normal sleep pattern for newborn with day/night confusion
Deciding how best to deal with crying babies in the family
Find out the benefits for you and your baby of having a bedtime routine