The risk of being robbed or attacked on your way home is thankfully pretty small, but to keep yourself safe you should be aware of what to do if you find yourself in a threatening situation.
Whenever it's possible, try and walk home with someone else or a group of friends. You're less likely to be attacked or mugged if you're with more than one person
You should always keep alert and aware of what's going on around you. You may be tired but if you fall asleep on public transport, you're more likely to have your bag or your coat stolen.
It's also not a good idea to listen to music through your headphones.
As well as being distracting, it's showing that you have something that's worthwhile stealing.
Make sure you keep any valuables tucked safely away in your bag.
Carrying a personal alarm can also make you feel a lot safer. If you activate it, the alarm will give off a high-pitched sound that can shock anyone that's attacking you.
You can buy a personal alarm from a lot of high street shops. If you're at college or university, your student union may sell them at a reduced price or give them away for free.