There are a number of reasons that you only have warm water. Depending on the type of system that you have, it may be related to overuse - your system might not be large enough. There is also the possibility of an internal fault or a hidden leak using up your hot water.
Do you know what sort of hot water system you have?