Generally speaking, whatever position doesn't cause you pain is the best. If the floor is comfortable, that's fine. If sleeping on your side relieves your pain, that's fine too. Try a variety of positions to find the position that's the least likely to cause you pain.