40 lbs to lose with joint problems

Hi-new to it but am trying to get into the swing of things. I was doing really well then anted pizza and a party and fell off. I downloaded free apps for workouts. I have a physical job with shoulder and hip issues. Anyone have any suggestions for exercises that will help and keep me working? Thanks!