Unless they demand that you appear in court, it is in your best interest to pay the ticket while you are still in that state and then go back to where you came from once everything is cleared.
If you get a speeding ticket while you are out of state, you will still have to pay the fine for speeding. Though, you will have to pay it to that state. If you want to fight it, you would probably have to go to the county court in that state to fight it.
It is best to just pay the fine and do an online traffic school to remove the points from your driving record. If you do not pay the fine and you are ever pulled over in that state again it could result in you being arrested.
You won't have to appear in court unless it specifically says to, but in speeding cases you usually don't have to. You will have to take the ticket and look at the address on the back of it. Send your fine to the proper court house and it should be resolved.