I think you should have given up the N for 3 pawns, safe king and centre pawns. I think you are winning after 18... 0-0!. I looked at 0-0-0 but then he can pawn storm you on that side, but if you 0-0-0 you have more freedom with your pawns.
thank for you opinion I see the situation I apreciate your comment
I played this game in a tournament of 2nd rank in my town and I lost the game my rating in this tournament was 1754