1 ) 地indicates how to do a thing. For example, 她高兴地回到了家中。=He went back home happily. Note that "happily" =高兴地is an adverb which tells us how did you come back.
2 ) 得indicates the result of an action. For example, 他吓得哭起来了。=He's so afraid that he cry out.得tells us the result is 哭起来了.