engine swap problems

just did swap in a 92 ls obd 1 i am getting a check engine light of 2 and i think 21 can anybody please help too try too figure this out if i reset the ecu vtec will work for may be 5 too 10 minutes then the check engine will come on again plese help

is your o2 sensor connected properly?