@CTyank,
So, while your husband was in the hospital, your boyfriend came over. And now your husband knows.
Isn't that lovely?
Pack your bags and get ready for a long chat, one that might very well begin with something sweet like, I dunno -
Get out of my house and never darken my door again.
And that's the nice version.
Honestly, what do you think will happen? There will likely be anger. And if your husband's family is anywhere nearby, they will really be livid for you doing this while he's in the hospital.
You have made your bed. I hope you enjoy lying in it.