How would you expect us to do that? First, you do not give us enough information on the goals you want to achieve. Should the lights go on only when it is dark? Or when motion is detected? Or when you open a door? Or when your cat or dog is not at home?
There are so many individual prerequisites and personal wishes …
Sorry, but that is the only way to go:
That IS a step by step guidance and just follow them. If you get stuck tell us the exact step you are stucked, post your items files, sitemap files, rules files and the output of your openhab.log and we may be able to tell you how to proceed.
Good luck and keep up tinkering.