Babies separation anxiety

An

What are some ways you have been able to help stop the separation anxiety? It has mainly been when I walk out of the room but it doesn’t happen every time..