Domestic or not, that duckling needs care until it is old enough to fend for itself in the wild.
Have you looked around outside for its mama and clutch mates? It would be best to get it back there if possible. Otherwise, it needs care until it is 8 or so weeks old.