It depends on the type of paint you're using. If you're painting with oil-based paint, then you need to wait about a week. If you're using latex-based, then you could sleep in the room the next day.