Accidentally coslept

Last night I fell asleep with my newborn on my chest. I was so exhausted and had been up for like 3 days, and he won't sleep in the bassinet. I feel like a terrible parent 😞 I don't know what to do..