Building a house takes quite a while. It takes 4 phases of 24 hour sessions. Once you unlock the house in the shop put it down and start the first phase. After 24 hours you need to click on it to start the next 24 hour phase. Once it’s finally done, go inside and get your achievement
Alternatively you can join someone else’s farm and go in their house