Don't worry, you probably didn't do any permanent damage.
We've all smelled too much bleach or cleaning solutions at some point in our lives. The best thing to do is make sure the air you're breathing currently is without irritants like tobacco smoke or other vapors, and that you're sleeping in a well ventilated room. If you've developed a cough
that's persisting past 1-2 wks, get checked out.