Toddler sleep in own bed

So I breastfeed my son and doing that it was easier to have him in bed with me because of course being a new mom is very tiring..so me my husband and son who is 2 jus sleep in same bed..we've tried to transtition him to his own bed but he crys so bad o jus give in...this is of course takin a toll on my "mommy and daddy time" because he prevents it...if there's anybody that's been or is goin thru this please share