I do this often on my track bike, since I only ride it a few times a year then put it away in the garage. The process is very basic, and the main goal is to keep moisture away from the engine internals.
1. Replace oil and oil filter.
2. Warm up the bike to dissipate remaining moisture.