What guidelines should be followed using spiritual gifts? What guidelines should be followed if using spiritual gifts in a church setting today?
Wowsers! Great question! Also a loaded one. I'll be deconstructing 1 Corinthians 14 since this is the clearest example of guidelines (I'm also assuming that you meant the spiritual gifts in 1 Cor. 12).


  Pursue love, and desire spiritual gifts, but especially that you may prophesy. 2 For he who speaks in a tongue does not speak to men but to God, for no one understands him; however, in the spirit he speaks mysteries. 3 But he who prophesies speaks edification and exhortation and comfort to men. 4 He who speaks in a tongue edifies himself, but he who prophesies edifies the church. 5 I wish you all spoke with tongues, but even more that you prophesied; for he who prophesies is greater than he who speaks with tongues, unless indeed he interprets, that the church may receive edification.


I have so much to say about this in terms of non-cessationalism, but because it doesn't directly answer the original question, suffice it to say that Paul tell us that spiritual gifts are to be desired. We were never given a choice between chosing to love God and spiritual gifts. I often hear, "I rather love Jesus and focus on Him", as if that can minimize Jesus in some way to pursue spiritual gifts. So then, in this guideline, we're told first of all to desire spiritual gifts. Paul, as if to argue the possibility that some may doubt, establishes the topic of this snippet (chapter 14).


  6 But now, brethren, if I come to you speaking with tongues, what shall I profit you unless I speak to you either by revelation, by knowledge, by prophesying, or by teaching? 7 Even things without life, whether flute or harp, when they make a sound, unless they make a distinction in the sounds, how will it be known what is piped or played? 8 For if the trumpet makes an uncertain sound, who will prepare for battle? 9 So likewise you, unless you utter by the tongue words easy to understand, how will it be known what is spoken? For you will be speaking into the air. 10 There are, it may be, so many kinds of languages in the world, and none of them is without significance. 11 Therefore, if I do not know the meaning of the language, I shall be a foreigner to him who speaks, and he who speaks will be a foreigner to me. 12 Even so you, since you are zealous for spiritual gifts, let it be for the edification of the church that you seek to excel. 13 Therefore let him who speaks in a tongue pray that he may interpret. 14 For if I pray in a tongue, my spirit prays, but my understanding is unfruitful. 15 What is the conclusion then? I will pray with the spirit, and I will also pray with the understanding. I will sing with the spirit, and I will also sing with the understanding. 16 Otherwise, if you bless with the spirit, how will he who occupies the place of the uninformed say “Amen” at your giving of thanks, since he does not understand what you say? 17 For you indeed give thanks well, but the other is not edified. 18 I thank my God I speak with tongues more than you all; 19 yet in the church I would rather speak five words with my understanding, that I may teach others also, than ten thousand words in a tongue.


This is one of the verses that I see that Paul clearly establishes a differentiation between two different kinds of "tongues". Here he is talking about the public use of speaking in tongues. Later in verse 28 he says that if there is no one to interpret, we speak in tongues privately (which is actually to God and for our edification as we see in verses 4, 14 &amp; 28). We're told here that the public use of tongues is useless in terms of the edification of the Church as a whole when there is no interpretation. Thus, we should rather speak from our understanding if there is no interpreter present. Notice here, though, that the word is interpret and not translate. Because there are different kinds of tongues (1 Cor. 13:1), there will not always be someone there who knows that particular language and the Spirit gives an interpretation. It's not a word-for-word translation, but the message is conveyed the same. I've seen this happen many times in a service where one speaks in tongues and interprets what He feels the spirit is saying, then someone has stood up and said, "that was my native tongue and you have said everything exactly as you spoke it!". It an amazing thing to watch and it instills a fear and awe of the Lord.  


  20 Brethren, do not be children in understanding; however, in malice be babes, but in understanding be mature.
  21 In the law it is written:


“With men of other tongues and other lips
I will speak to this people;
And yet, for all that, they will not hear Me,”says the Lord.

22 Therefore tongues are for a sign, not to those who believe but to unbelievers; but prophesying is not for unbelievers but for those who believe. 23 Therefore if the whole church comes together in one place, and all speak with tongues, and there come in those who are uninformed or unbelievers, will they not say that you are out of your mind? 24 But if all prophesy, and an unbeliever or an uninformed person comes in, he is convinced by all, he is convicted by all. 25 And thus the secrets of his heart are revealed; and so, falling down on his face, he will worship God and report that God is truly among you.

Here is a good guideline. Be careful that you don't "overuse" tongues in a public service because those who are unbelievers will think you are crazy if they come in and you're babbling in languages that they don't know. Although, if there is prophecy and his heart is revealed then he will know there is a God. I've seen this many times. People who don't believe in God will quickly listen when you tell them the secrets of their heart that no one else could know but God alone. 


  26 How is it then, brethren? Whenever you come together, each of you has a psalm, has a teaching, has a tongue, has a revelation, has an interpretation. Let all things be done for edification. 27 If anyone speaks in a tongue, let there be two or at the most three, each in turn, and let one interpret. 28 But if there is no interpreter, let him keep silent in church, and let him speak to himself and to God. 29 Let two or three prophets speak, and let the others judge. 30 But if anything is revealed to another who sits by, let the first keep silent. 31 For you can all prophesy one by one, that all may learn and all may be encouraged. 32 And the spirits of the prophets are subject to the prophets. 33 For God is not the author of confusion but of peace, as in all the churches of the saints. (I've ommited verses 34-38 to keep from debating such a sensitive topic.) 39 Therefore, brethren, desire earnestly to prophesy, and do not forbid to speak with tongues. 40 Let all things be done decently and in order.


This is probably the "meat" of the guidelines section. Verse 40 basically sums everything up. The thing we need to keep in mind when operating in spiritual gifts in a Church setting is that things need to be done decently and in order. There should not be chaos in the Church of the God of peace. Each has his own part and there is no rush to make yourself heard since everyone can take a turn and be edified. 

I hope this helps and makes sense. Sorry if it's too long!