I personally prefer going into the office... but I seem to be in the minority (at my company, at least). My company has a hybrid system, so it's largely up o the individual what they prefer to do. To help you decide for yourself, why not consider the pros and cons?
Perks of working from home:-
1) Convenient (Own space, don't have to put up with fussy or messy colleagues._
2) Saves a fortune on travel costs
3) Can get up literally 5 minutes before your shift starts
4) If you have children or pets, they will appreciate you being around
5) Can do other things around the house
6) Can work in your pyjamas / dressing gown if you wanted
Perks of going into the office:-
1) Normally more work / goal focused (less distractions)
2) Change of environment can be nice, and you switch off more when you go home
3) Seeing your colleagues face to face,
4) If you need advice / opinions, much easier to go to their desk, rather than trying to call them
5) There's the whole social aspect (can go for lunch together, or have end of week / month drinks etc.)
6) The feeling of camaraderie when you're all working together; especially when you achieve a target.