Temping can be a really great way to get work experience very quickly. If it has been a while since you have worked then it can give you an opportunity to get back in to the swing of work in a role without too much pressure. You will be expected to pick up things quickly but you will also be taught what to do. Some temping roles will lead to permanent jobs or will be more long term, others will be short term and so you can choose something that will suit your return to work.
Of course, you can just apply for office jobs and try to take on a permanent one straight away. This may take longer and will not give you experience of working in different places,which could be more valuable while you are getting used to getting back to being in an office again.