Ex.
1.「僕はこの映画に出ている俳優が好きなんだよね、確か名前はジェームズ・・・なんとかかんとか」= 'I like the actor who's in this film, if I remember correctly, his name is James something something'
2.「(レストランで)さっき店員さんがこの料理についてなんとかかんとかlって言ってたけど、覚えてる?」= '(at the restaurant) The waiter/waitress explained blah blah blah about this dish just before, but do you remember what he/she said?'
'なんとかかんとか' is used when you forgot the name of something or what someone said.
'なんとか' can also be used to mean the same thing when the part you forgot is short.
Ex.
「きのう面白い映画を見たんだけど、確かタイトルは『となりの・・・なんとか』」= 'I saw an interesting movie yesterday and I think the title was 'Tonari no something'
「ああ、『となりのトトロ』のこと?」= 'Oh, is that 'Tonari no Totoro?'