The easiest way is to post pics here, if there's no identifying marks. Ususally, though, there's a stamp or something on the fuel tank or bottom of the trucks.
Different manufacturers put their locos together differently, and once you've played around with them enough, you get so you can identify whose is whose...
... in the meantime, post some pics. I love playing "Name that loco!"