Missing .shx file when loading shapefile for grid definition

There’s always an error that says my .shp file is missing an .shx file. How do I fix this?