wheel loose

ok so i lifted my buike up today to check the brakes i got everything off rear but couldnt shift the castle nut holding on the rear hub :unsure:so went to the front and the brake pads are rusted and actually parts falling off so il be getting them done in few weeks or are they easy to do myself how will i shift the hub nuts 🙁 also on the front left side the hub is loose the back off it is also loose the drive shaft iss moving with it when jacked up the wheel is loose out 🙁 is this sfae to drive at the moment thanks