Cross eyed

My baby’s eyes occasionally get crossed and it seems to be getting worse. The doctor said if it’s still a problem at 4 months then she’ll need to see an eye doctor. Anyone else going through this?!