If you've accidentally imported contacts from both the SIM card and the SD card you might have a lot of duplicates. To start afresh simply follow these steps to clear all contacts data.
Settings-->Applications-->Manage Applications-->All tab-->Contacts Storage-->Clear Data