If the 3pt and the loader are not working then it's probably a bad pump. That being the case, you will have to find out what caused it. It could be anything from a QD not being seated properly or simply a defective pump. It's best to find out why now before replacing a pump and having it fail again.
If something is working then it's probably a loose connector somewhere.