Blackbird

this bird has been walking back and forth in a straight line for a few hours! I can’t see if it is hurt or looking for her babies.. any advise??