Newborn Covid testing


So I just had my son Colton about a week ago so he is one week and one day old ! My daughter is 4 and tested positive and me and her father have caught it we’ve done everything possible to make sure Colton doesn’t get it but his dr wants to test him tomorrow for Covid do they do the same kind of Covid test on him that they do us? And is it going to hurt him? I seen my daughter get tested and she freaked out and her nose bleed for a few minutes after when I got mine it hurt so bad . So I’m worried about him getting tested he hasn’t shown any symptoms and has been fine but please comment your opinions or experiences if you’ve been through this or know someone with a newborn who had to be tested or caught Covid!