Do you know how to buy a suitable hub online?
The numbers on the back of a trailer bearing correspond to a certain spindle size, and this is the easiest way to determine the correct hub. If a number is not legible on the bearing then you will need a micrometer to measure the inside dimension of the bearing.