If you have bad credit, find a lender who is willing to work with you and offer you reasonable loan terms.
Make sure that your original mortgage does not have a pre-payment penalty or early payoff penalty of any kind. Sometimes people will get into their mortgage with the mortgage having a pre-payment penalty and they will not even know about it. Pre-payment penalties usually range from 6 months to 3 years with a penalty for an early payoff. The penalty is usually about the amount of 6 months worth of your mortgage loan interest, but this varies. You would have to be able to have some significant payment and interest savings on your refinance loan to justify refinancing a mortgage loan with a pre-payment penalty.
There is a refinancing myth that says you should not refinance your mortgage unless your interest rate will be at least two points less. This myth is not necessarily true if there are other benefits to the refinance or other reasons behind it.
If you want to make sure the interest rate your lender offers you is the rate you get when you close the loan, ask about a mortgage lock-in (also called a rate lock or rate commitment). Any lock-in promise should be in writing. Make sure your lender explains any costs or obligations before you sign.