There's plenty you can do to prevent the spread of swine flu, especially if you're the person who has swine flu.
If you have flu symptoms, immediately behave the way you would like an infectious person to behave around you on an otherwise glorious day. Don't go out and about and carry on with your normal routine. Stay home at least one full day until your fever breaks, unless you need medical attention or supplies.
Stay away from kids. If you can, tell those you've had contact with in the past few days -- especially if they have children -- that you've come down with a touch of swine flu and they should keep an eye out for symptoms. It makes for an interesting conversation starter as long as that conversation is occurring over the telephone and not in person.
Cover your mouth when you cough or sneeze and wash your hands afterward. Make sure to keep your hands clean, and to disinfect door handles, furniture or anything that a visitor may come in contact with.
You should lay as low as possible for a week. Catch up on some reading. Have that nice, 36-hour-long nap you've been craving lately. Before your re-entry into society, throw away all used tissues and wash your bedding and clothing.