If you’re self-employed and pay the full 15.3 percent in Social Security and Medicare taxes (employers typically cover half), you can write off half of what you pay.