When I type a capital P in pages or safari, there is a bar above my keyboard that says an explicit name. How do I remove the bar and/or the name When I type "P" on pages and safari, there is a bar above my ipad keyboard that says an explicit result. 

How do I remove the bar or the explicit result?
You can't remove individual words from QuickType. To clear the custom dictionary, go to Settings → General → Reset → Reset Keyboard Dictionary.