What can I do to remove these white spots on my fingernails?

See below. You have symptoms which could be serious and should see your physician. He/she will listen to you, do a physical examinarion, run some tests, and let you know what's going on.