Scary Accident

So i was laying with baby on my chest. I know I shouldn’t have been because we both dosed off. I woke up to the blanket over his head in he was warm but sound asleep. I FREAKED out and feel absolutely terrible. I know now that if there’s any chance I should fall asleep i shouldn’t let him be on my chest. It was pure exhaustion I guess. My point is he seems normal now but could it have hurt him long term? I know what could’ve happened. I won’t let it happen again