If the situation is an emergency, i.e. you or someone else is at risk of harm from a perpetrator, call 999. If it is not an immediate emergency, then call 101.
If not an emergency, and you feel the incident is a hate crime, you can report directly to Police Scotland via their secure Hate Crime Reporting Form.
If you are elsewhere in the UK you can find your local Police to then make a report directly to them.