Short Answer
If the child was born alive, for even a second, it is given a name, a bath, and buried like a person. If not, but the body was fully formed, then a proper bath must be given, then it is wrapped and buried. If the body was not fully formed then pour water over the incomplete body, wrap it, and bury it.
Version 0.25
Shaykh Mustafa Umar