I do jave a amxetu disorder but this has really scared me
Your anxiety disorder is causing you to over react to what you have read about the philosophical notion of solipsism, and to get the wrong end of the stick.
This absolutely needs saying:
3 things you need to do:
1. Go to your doctor.
2. Go to your doctor.
3. Go to your doctor.
The alarming idea that loved ones, etc do not really exist is called 'solipsism syndrome' but it is only loosely related to the philosophical idea that you seem to have come across. Solipsism as a philosophical proposition (the idea that only the self exists) can neither be proved or disproved. You can safely ignore it. It doesn't matter. If you cannot ignore it, and this is causing you distress, I will say it again, (but you keep ignoring this), GET HELP FROM YOUR DOCTOR. You will not get anything useful on here (as can be seen already).