I am trying to learn $4$-manifolds with boundaries and I don't know much about this topic so these questions may be silly. Given a $4$-manifold $M$ with a boundary say $N$,

Assume $\pi_1(N)$ is known, is there a way to compute $\pi_1(M)$ or is it possible to say any features of $\pi_1(M)$? To be more precise how the boundary is influencing the fundamental group of the manifold?

Can I put some restriction on $N$ so that $\pi_1(M)$ becomes finite?

I apologize for asking too many questions in a single post. Any techniques, references, or suggestions will be helpful. Thanks in advance!