"Unsuccessfully" is the correct spelling for the misspelling "unsecsessfully". To avoid this error, check for the proper placement of the "s" and "c" letters. Additionally, auto-correct features, spell-checkers or using a dictionary can aid in avoiding such spelling mistakes.