Sit at a chair (preferably with arms) with a high back and a good backrest. Make sure you are sitting in an upright position and not sitting at the edge of the seat. You can roll a towel up and place it at the curve of your lower back for lumbar support. If you have an office chair already great, but if not think about getting one if you are going to be spending even one day working from home now long term. You could always ask your office to loan you one or buy it for you.
Place your feet flat on the floor with 90 degrees behind the knees when sitting on the chair, toes and heels in line, legs hip-distance apart. No crossing legs!!
Rest your hands on the keyboard with a 90-degree angle at your elbows (best with a chair that has armrests). Your upper arm should be as vertical as possible. This will open out your chest and shoulder muscles and help prevent soreness in the upper back and neck.
It is critical that you adjust your chair to allow your forearms to be parallel to the floor and level to the keyboard. If you don't have an adjustable chair use cushions to raise yourself up and a cushion is also more comfortable to sit on.
Your keyboard should be positioned so that the bottom of your wrist isn't touching the edge of your desk or keyboard constantly as this is much more likely to inflame your wrist flexor tendons (lower wrist) and you'll be more prone to get something called carpal tunnel syndrome. To prevent unwanted repetitive stress injuries use a protective wrist pad.
The screen should be central to your body position and not off to the side. The screen should be at eye level (you are looking ahead at the centre of the computer screen) so if you are using a laptop on a table you are never going to have the screen at the correct height. Use the laptop as a screen and lift it up on to books or get a stand and buy a separate keyboard and mouse.
Sit at a chair for part of the day, a standing desk for the rest and/or a swiss ball/fit ball. The mobility you get from sitting on a swiss ball improves fluid and nutrition delivery to the discs of the spine. A swiss ball also improves overall blood flow keeping the muscles of the legs and torso active. You'll have to switch on those core muscles whether you like it or not for balance too. Always rotate though with either chair sitting, ball sitting or standing. Don't spend 8hrs doing the one thing.
If you think you are going to be working from home long term even one day a week invest in a good chair with a backrest and a headrest if you can. Also a table at the correct height and think about light in the room and where it is coming from. Have you got enough light or are you peering and taking that head of yours into a forward head posture which can bring on all kinds of things like headaches?
Every 30 minutes do something different away from your desk. It just needs to be something small like going to get a cup of tea or coffee or walking around your home or garden for 5 minutes.
Set a repeat alarm on your phone/computer to remind you to take a break.
Release those tense muscles and treat your body to weekly online Pilates class in your lunch hour or after work during the week if you want to improve your posture, become stronger and more flexible. You're not travelling to and from work so you have that little bit of extra time to fit a class into your day. If you choose a lunchtime class you will return to work in the afternoon refreshed and ready to work again.