How can i know that my question is duplicate from a heading of the question?
You really can't because just because the title sounds similar doesn't mean they are dupes. You need to search multiple keywords that are similar and see if there is one which answers your question.
And if we use mobile then it don't show the same questions when we type our heading of the question
I'm not sure about this but I would never try to post a question on a mobile device (maybe a big tablet). But, to ask a good/quality question, this would be a pain.
And what we should do if our question is marked as duplicate question?
Should we delete our question or what?
Only if it is a low quality question which should be deleted anyway. Otherwise, it serves as a signpost to the target dupe. People searching certain, related terms may find your which would lead them to the duplicate.