How do you start exercising after years?

how to avoid soreness? from which exercise should you start? What to do first? what habits should follow exercising?
How do you start exercising after years?
Post Opinion