How to break co sleeping?

Lily

Hi all, in need of some tips. I found out I’m pregnant with baby #2 (unsure of due date because I haven’t had a period since I had my son in February of last year but guessing about 4/5 months). I’ve co slept with my son from birth to now and I’m trying to get him to sleep in his own bed (pack n play we have) so hopefully by the time baby gets here, he’s sleeping in his own bed. Any tips?