It'd be challenging to provide a one-size-fits-all step-by-step guide for disassembling and folding a tent. That's because the number of parts they have and the complexity tends to differ. Some tents are pop-up tents and simply needed to be folded right, while other tents may require removing stakes and hooks to take the tent down.
For a one-person tent that requires stakes, you can follow these steps to disassemble. However, taking it apart is typically just reversing the steps used to assemble it.
1. Remove all stakes/pegs from the ground and untie the cords.
2. Remove the rain cover if there is one present.
3. Remove the curved poles that give the shape to the tent. These may either need to be slid out or removed in any other fashion.
4. At this point, the tent's fabric should be what is left, and this can be folded neatly.