your hot water tank should have a thermostat strapped to it. is that loose? or perhaps it's kaput (but then I would expect no hot water).
your 3 way valve is not working properly and the hot water is not getting diverted to the tank. feel the pipe going to the tank, does that get warm? the 3 way valve has a manual override. if you use that, do you get hot water?
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!