How to manage claustrophobia during a CT or MRI scans?

How to manage claustrophobia during a CT or MRI scans?