Nothing, obviously, as by the time you realise you have COVID, you would almost certainly have already have infected your child (unless you somehow had no contact with it for the previous few days). Odds are they'd be fine and not even show symptoms, but the last thing you do is take the potentially infectious child to someone else, obviously
Okay - not taking a side here - just playing out scenarios but i think this scenario has been the case globally..
Its a fine line - if you and your partner are very serious, and both had to be admitted to a hospital..where does that leave a child? If you have no care options nearby...