"hehe" is when you're laughing but it's when you're laughing AT someone, or you don't want anyone to know.
"haha" is one of those really quick laughs, like one would sound if you were to laughat something Jay Leno said, right?
Do you see the difference?