Cooking smoke

So my mom was cooking and burnt something and my son (2 weeks old) coughed twice before I could get him outside. Do I need to call the pediatrician? Is he okay?

Thanks I’m a first time mom and kinda freaking out.