I have to agree with JFG;
-Start Light! The important thing right now is to get to the gym! You want to accumulate good workouts. Start light, don't kill yourself with heavy weights and BRUTAL DEATH WORKOUTS! If you're emotionally crushed, and dreading your workout before you even hit the gym, you're going to heavy or hard. Go lighter for awhile. You really have to put in the work, before you can do those killer workouts, like in all the internet videos.
-Take whatever time you need between workouts. Put the idea of a traditional 7 day week out of your head for awhile. With a simple A/B, On/Off style plan, its really simple to think in 4 day or 8 day "cycles" instead of 7. And if you need to rest an extra day, or you miss a workout for some reason, just pick up where you left off.
-Do daily Extra Workouts. In the morning, do 2-3 sets of 3-4 of your most productive rehab style moves. Or whatever you might do to warm up before a real workout. This should take like 5 minutes. When you have time throughout the day, take a few minutes and do some more of this stuff. These boring rehab moves will help strengthen your weaknesses. That way, real workouts won't take as much out of you. Do more of these little sessions on off days. They will help you eliminate soreness, and recover faster. The more of this junk you can do outside of the gym, the less time you have to mess with them in the gym.
Make it your goal to get 4-6 months of workouts in. Don't worry about chasing numbers. Just figure out what you need to do to keep showing up. Make it through a week with no problems. Then make it through a month with no issues. Then put 2 months together. And so on and so on.