Workout routine for bad knees

Well I’m over weight and young but last year I broke my knee I need a workout routine I’m knew to this and need help learning exercise and what to do I want to lose weight and have more energy