To perform the Romberg test, the patient is asked to stand with their feet together and arms at their sides. Initially, the patient keeps their eyes open, then they are instructed to close their eyes. The nurse observes for any swaying or loss of balance. The test is positive if the patient loses their balance with their eyes closed, indicating a problem with proprioception or the sensory pathways.