Dobby was able to apparate them to Shell’s Cottage before Bellatrix returned. Bill and Fluer helped treat the injuries they sustained, and gave them a place to rest. The cottage wasn’t huge, so Ron, Hermione and Harry shared a room. They would’ve anyway - it was hard for them to sleep without each other's presence anymore. 