I need help and don't know what else to do with my car

Ok so here it goes I have a 93 gsr motor on my 90 integra It ran fine till I replace the head.So once i got it running its being throwing codes left and right . I got code 1 ,10,22 . Ok with all said I replaced everything new o2 new intake sensor new vtec oil sensor switch even new distributor and I reset the computer .so now when I drive the car and vtec starts to kick in at 5 1/2 rpms it starts to bogg and jerck then after that I get the cle which is o2 sensor. So if I turn the car the cel goes away but vtec won’t kick in at all then I was driving today on the freeway and the oil and battery light came on and for less than a min and it went it the the cel came on again . I don’t know what else to do any help would be appreciated

Why was the head changed? And what head was it replaced with?