My baby has slept in bassinet since hospital

Past 2 days he slept in our bed bc he would sleep at all (safe 7 sleep)

How can I get him back in bassinet

Constantly put him in bassinet last night and kept waking up, by the 7th time I just brought him in bed bc I couldn’t take it ):

Any tips