When can I change after c-section?

Will they let me wear pj pants after hours or maybe the day after the c-section? I did with my first but can't remember when I actually put them on. 
Also when can you usually change and shower after?