Rule of thumb for a week's worth of rides:

One ride "at tempo" - your normal pace. Comfortable distance.

One "LSD" ride - long, steady (a little slower than normal) duration. Works on your endurance.

One interval ride. Sprint up hills, sprint to stop signs, etc. Recover & do it again.

I throw in some hill work and another tempo ride. That's five rides. You can substitute a tempo ride with a recovery ride (slow & short) depending on your level of fitness. You MUST build in recovery days. If you're just starting out, your recovery days should be off of the bike and you should have at least 2 of them.

Weights - YES. Upper body and lower body. Upper body reps 8-12. Lower body reps 12-15. Compound moves, e.g., squats, bench presses, push ups (great for upper & core work) rows, overhead presses. Do them on your days off of the bike.

Watch your energy level. If you're tired, your body is telling you it needs a day off. You'll get back on your bike with AMAZING energy.