Hi tareq1998,
If you include the above provided method by mpeimpiii it will help to plugin users and developers without affecting their original codes.
if ( has_shortcode( 'wpuf_addpost' ) || has_shortcode( 'wpuf_edit' ) || has_shortcode( 'wpuf_dashboard' ) || has_shortcode( 'wpuf_editprofile' ) ) {
wp_enqueue_style( 'wpuf', $path . '/css/wpuf.css' );
}