Safety is key while travelling alone. You have to be aware of your surroundings at all times. I wouldn’t walk alone at night and I’d always make sure I knew a few subway or metro stops around my hostel so I could ask people for help if I couldn’t find my way back.