How long after buying a home can you refinance?

I just bought a home for 314k. I have an fha 30 year fixed 5.5 percent. The house was bought in foreclouser and was appraised at 335k. I would like to take that money and pay off my bills. Is this possible? how fast could I refinance?
4 answers 4