This page explains how you can decide what sort of structure a substance has by looking at its physical properties.
Melting and boiling points
The best place to start is usually the physical state. Melting point isn't always a good guide to the size of the attractions between particles, because the attractive forces have only been loosened on melting - not broken entirely. Boiling point is a much better guide, because enough heat has now been supplied to break the attractive forces completely. The stronger the attractions, the higher the boiling point.
That being said, melting points are often used to judge the size of attractive forces between particles in solids, but you will find the occasional oddity. Those oddities usually disappear if you consider boiling points instead.
You would expect stronger metallic bonding in aluminum than in magnesium, because aluminum has 3 electrons to delocalize into the "sea of electrons" rather than magnesium's 2. The boiling points reflect this: Al 2470 °C vs. Mg 1110 °C. However, aluminum's melting point is only 10 °C higher than magnesium's: Al 660 °C vs. Mg 650 °C.
So, if it is a gas, liquid or low melting point solid, it will consist of covalently bound molecules (except the noble gases which have molecules consisting of single atoms). The size of the melting point or boiling point gives a guide to the strength of the intermolecular forces. That is then the end of the problem. If it is a gas, liquid or low melting point solid then you are talking about a simple molecular substance. Full stop!
If it is a high melting point solid, it will be a giant structure - either ionic, metallic or giant covalent. You now have to sort out which of these it is.
Effect of water
Solubility of a solid in water (without reaction) suggests it is ionic. There are exceptions to this, of course. Sugar (sucrose) is soluble in water despite being a covalent molecule. It is capable of extensive hydrogen bonding with water molecules. And there are a lot of ionic compounds which are insoluble in water, of course. Solubility of a low melting point solid or a liquid in water (without it reacting) suggests a small molecule capable of hydrogen bonding - or, at least, a small very polar molecule.
Conduction of electricity
Conduction of electricity in the solid state suggests delocalized electrons, and therefore either a metal or graphite. The clue as to which you had would usually come from other data - appearance, malleability, etc (see below).
Semiconductors like silicon - a giant covalent structure with the same arrangement of atoms as diamond - also conduct electricity.
If a substance doesn't conduct electricity as a solid, but undergoes electrolysis when it is molten, that would confirm that it was ionic. Electrolysis is the splitting up of a compound using electricity. For example, molten sodium chloride conducts electricity and is split into sodium and chlorine in the process
Don't forget about obvious things like the shiny appearance of most metals, and their ease of working. Metals are malleable (can be bent or beaten into shape easily) and ductile (can be pulled out into wires). By contrast, giant ionic or giant covalent structures tend to be brittle - shattering rather than bending.
Jim Clark (Chemguide.co.uk)