"when we are alone,he is good infact great at times..but when in public,he is tooo bad.. husband does't even realize he did anything wrong.."
Some perspective here. Both of you are 26 - a very young age. He is clearly not a bad guy - maybe he is intimidated by you - you are probably as smart or smarter than he is. So he feels the need to put you down - not because he does not respect you, but he is threatened by your smartness.
So take that as a compliment - and you would have some compassion for his insecurity (rather than resent him for his cruelty).
I would not recommend the silent treatment - (agree with Pepsi ki Botal). I would ignore his jokes and pretend not to ear them, as several folks have suggested.
And much as I respect our wise senior member Mirch, on this one, I would respectfully disagree. This does not warrant consideration of separation. You guys are only 26 - there will be ups and downs - this is not a major issue if you understand his insecurities and why he needs to do this to feel better about himeslf. (This does not make it right, but will give you a different prespective, I hope). Good luck - and wish both of you a long and happy married life - full of little fights and lots of laughter (in public and iin private - sometimes even at each other's expense).