The train station is a short walk from the cruise ship terminal in Warnemunde. Regular train service runs frequently. Once in Rostock it is a good walk to the walled old town, or you can take the local bus.
The walled town is interesting and easy to navigate on foot.
Warnemunde is also worth a visit and you simply cross the bridge at the train station. Once again, you can see all on foot.