The baby boy was taken to hospital after police were called to a home in Perth.