Having unprotected sex trying to get pregnant but taking diet pills been off Depo-Provera for 5 months is it ok since it takes a while to get pregnant?

NO IT IS NOT OK. If you are trying to get pregnant you should not be taking any diet pills.
Phentermine cat C. Look, if used judiciously and stopped with a positive upt, it will not cause a birth defect. It will not likely add to miscarriage risk. Likewise there are no stringent contraceptive requirements to be on diet pills. Likewise you may need wt loss to help you get pregnant; consider metformin as well. Buproprion w/ metformnim can be good as well for maintainace. We drink, smoke, etc, then stop.