I'm Doug, and I'm very sorry to hear of your situation. My goal is to provide you with excellent service today.
If you haven't yet worked an earned enough to qualify for either Medicare or a retirement benefit, then all you need to do is continue working until you have gained the remaining 10 quarter credits and then apply for your Medicare and retirement benefits.
Let's say that you have a total of just 30 credits---not enough to get a social security benefit. What I typically tell people is to just work the additional 3 years it will take to earn enough to earn the credits. Taking a job need not be difficult, and you could even have your friend or spouse hire you, report the income and do withholding and for very little money, and a couple years of going through the process, you can easily get those additional 10 credits you need to make a retirement claim.
Social security no longer gives credits based on quarters but based on income earned during any time of the calendar year. The amount of earnings required for a quarter of coverage (QC) in 2015 is $1,220. So if you can earn income and pay taxes on $4,880 in 2015, do it again in 2016 and then in 2017 earn just $2,440, you will have earned the 10 quarters.
You may reply back to me using the Reply link and I will be happy to continue to assist you until I am able to address your concerns, to your satisfaction.
Kindly, remember to rate my service to you. That is how I am credited for assisting you.
I wish you and yours the best this holiday season,