When in a sunbed you can wear contact lenses while in the sunbed.
But it's not recommended to be in the sunbed with your contact lenses on as it may cause your eyes to become sensitive and might lead to blurry vision at least for awhile.
It's best to remove the contact lenses before getting into the sunbed and you'll need to wear eye protection in the sunbed that is provided by the sunbed place.
You must wear that eye protection in the sunbed or you can go blind due to the intense UV rays that the sunbed puts out.
So I would remove the contact lenses and then use the sunbed and put the contact lenses back in after the sunbed session.