I'm assuming you have a Monaco product since you're asking on this forum.
If so, there are many differing opinions about this. I'd recommend you readhere
and click on Robin's website for some good info about extending and retracting.
I use the procedure he suggests
1. Turn on engine - Bags start filling
2. Retract jacks
3. Turn off engine
4. Bring slides in