I am on J1 Visa but I used Turbotax by mistake. What all needs to be done to file an amended return for the state and federal taxes?

Do I need to file state and federal taxes separately? Furthermore, can I use some online service(like sprintax) to get the new form filled. Also, how do I return the extra money(like cheque or something)?